Gridview.php 759 B

123456789101112131415161718192021222324252627
  1. <?php
  2. namespace Dotdigitalgroup\Email\Model\Config\Dynamic;
  3. class Gridview implements \Magento\Framework\Data\OptionSourceInterface
  4. {
  5. /**
  6. * Grid display options.
  7. *
  8. * @return array
  9. */
  10. public function toOptionArray()
  11. {
  12. return [
  13. ['value' => '2', 'label' => '2'],
  14. ['value' => '4', 'label' => '4'],
  15. ['value' => '6', 'label' => '6'],
  16. ['value' => '8', 'label' => '8'],
  17. ['value' => '12', 'label' => '12'],
  18. ['value' => '16', 'label' => '16'],
  19. ['value' => '20', 'label' => '20'],
  20. ['value' => '24', 'label' => '24'],
  21. ['value' => '28', 'label' => '28'],
  22. ['value' => '32', 'label' => '32'],
  23. ];
  24. }
  25. }