Delay.php 856 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. namespace Dotdigitalgroup\Email\Model\Config\Automation;
  3. class Delay implements \Magento\Framework\Data\OptionSourceInterface
  4. {
  5. /**
  6. * Returns the values for field delay.
  7. *
  8. * @return array
  9. */
  10. public function toOptionArray()
  11. {
  12. return [
  13. ['value' => '', 'label' => '-- Please Select --'],
  14. ['value' => 1, 'label' => '1'],
  15. ['value' => 2, 'label' => '2'],
  16. ['value' => 3, 'label' => '3'],
  17. ['value' => 4, 'label' => '4'],
  18. ['value' => 5, 'label' => '5'],
  19. ['value' => 6, 'label' => '6'],
  20. ['value' => 7, 'label' => '7'],
  21. ['value' => 14, 'label' => '14'],
  22. ['value' => 30, 'label' => '30'],
  23. ['value' => 60, 'label' => '60'],
  24. ['value' => 90, 'label' => '90'],
  25. ];
  26. }
  27. }