Notice.php 584 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace Smartwave\Porto\Model\Config\Settings\General;
  3. class Notice implements \Magento\Framework\Option\ArrayInterface
  4. {
  5. public function toOptionArray()
  6. {
  7. return [
  8. ['value' => '', 'label' => __('No')],
  9. ['value' => '1', 'label' => __('Above of the Header')],
  10. ['value' => '2', 'label' => __('Below of the Header')]
  11. ];
  12. }
  13. public function toArray()
  14. {
  15. return [
  16. '' => __('No'),
  17. '1' => __('Above of the Header'),
  18. '2' => __('Below of the Header')
  19. ];
  20. }
  21. }