![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/amasty/base/Model/Source/ |
<?php /** * @author Amasty Team * @copyright Copyright (c) Amasty (https://www.amasty.com) * @package Magento 2 Base Package */ namespace Amasty\Base\Model\Source; class NotificationType implements \Magento\Framework\Option\ArrayInterface { public const GENERAL = 'INFO'; public const SPECIAL_DEALS = 'PROMO'; public const AVAILABLE_UPDATE = 'INSTALLED_UPDATE'; public const UNSUBSCRIBE_ALL = 'UNSUBSCRIBE_ALL'; public const TIPS_TRICKS = 'TIPS_TRICKS'; public function toOptionArray() { $types = [ [ 'value' => self::GENERAL, 'label' => __('General Info') ], [ 'value' => self::SPECIAL_DEALS, 'label' => __('Special Deals') ], [ 'value' => self::AVAILABLE_UPDATE, 'label' => __('Available Updates') ], [ 'value' => self::TIPS_TRICKS, 'label' => __('Magento Tips & Tricks') ], [ 'value' => self::UNSUBSCRIBE_ALL, 'label' => __('Unsubscribe from all') ] ]; return $types; } }