Summary.php 489 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Wishlist\Model\Config\Source;
  7. class Summary implements \Magento\Framework\Option\ArrayInterface
  8. {
  9. /**
  10. * @return array
  11. */
  12. public function toOptionArray()
  13. {
  14. return [
  15. ['value' => 0, 'label' => __('Display number of items in wish list')],
  16. ['value' => 1, 'label' => __('Display item quantities')]
  17. ];
  18. }
  19. }