Visibility.php 445 B

123456789101112131415161718192021
  1. <?php
  2. namespace Dotdigitalgroup\Email\Model\Config\Source\Datamapping;
  3. class Visibility implements \Magento\Framework\Data\OptionSourceInterface
  4. {
  5. /**
  6. * Get options.
  7. *
  8. * @return array
  9. */
  10. public function toOptionArray()
  11. {
  12. $dataType = [
  13. ['value' => 'Private', 'label' => __('Private')],
  14. ['value' => 'Public', 'label' => __('Public')],
  15. ];
  16. return $dataType;
  17. }
  18. }