On.php 470 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Tax\Model\Config\Source\Apply;
  7. class On implements \Magento\Framework\Option\ArrayInterface
  8. {
  9. /**
  10. * @return array
  11. */
  12. public function toOptionArray()
  13. {
  14. return [
  15. ['value' => 0, 'label' => __('Custom price if available')],
  16. ['value' => 1, 'label' => __('Original price only')]
  17. ];
  18. }
  19. }