Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-cms
Model
Config
Source
Wysiwyg
Enabled.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Cms\Model\Config\Source\Wysiwyg
;
7
11
class
Enabled
implements
\Magento\Framework\Option\ArrayInterface
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
}
Magento\Cms\Model\Config\Source\Wysiwyg\Enabled
Definition:
Enabled.php:11
Magento\Cms\Model\Wysiwyg\Config\WYSIWYG_DISABLED
const WYSIWYG_DISABLED
Definition:
Config.php:45
Magento\Cms\Model\Config\Source\Wysiwyg\Enabled\toOptionArray
toOptionArray()
Definition:
Enabled.php:16
__
__()
Definition:
__.php:13
Magento\Framework\Option\ArrayInterface
Definition:
ArrayInterface.php:11
Magento\Cms\Model\Wysiwyg\Config\WYSIWYG_HIDDEN
const WYSIWYG_HIDDEN
Definition:
Config.php:40
Magento\Cms\Model\Wysiwyg\Config\WYSIWYG_ENABLED
const WYSIWYG_ENABLED
Definition:
Config.php:25
Magento\Cms\Model\Config\Source\Wysiwyg
Definition:
Editor.php:6