Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Enabled.php
Go to the documentation of this file.
1 <?php
7 
12 {
16  public function toOptionArray()
17  {
18  return [
19  ['value' => \Magento\Cms\Model\Wysiwyg\Config::WYSIWYG_ENABLED, 'label' => __('Enabled by Default')],
20  ['value' => \Magento\Cms\Model\Wysiwyg\Config::WYSIWYG_HIDDEN, 'label' => __('Disabled by Default')],
21  ['value' => \Magento\Cms\Model\Wysiwyg\Config::WYSIWYG_DISABLED, 'label' => __('Disabled Completely')]
22  ];
23  }
24 }
__()
Definition: __.php:13