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-variable
Controller
Adminhtml
System
Variable
WysiwygPlugin.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Variable\Controller\Adminhtml\System\Variable
;
8
15
class
WysiwygPlugin
extends
\Magento\Variable\Controller\Adminhtml\System\Variable
16
{
22
public
function
execute
()
23
{
24
$customVariables = $this->_objectManager->create(\
Magento
\
Variable
\Model\Variable::class)
25
->getVariablesOptionArray(
true
);
26
$storeContactVariables = $this->_objectManager->create(
27
\
Magento
\
Variable
\Model\Source\Variables::class
28
)->toOptionArray(
29
true
30
);
32
$resultJson = $this->resultJsonFactory->create();
33
return
$resultJson->setData([$storeContactVariables, $customVariables]);
34
}
35
}
Magento\Framework\App\ActionInterface\execute
execute()
Magento\Variable\Controller\Adminhtml\System\Variable\WysiwygPlugin
Definition:
WysiwygPlugin.php:15
Magento
Magento\Variable\Controller\Adminhtml\System\Variable
Definition:
Variable.php:13
Magento\Variable\Controller\Adminhtml\System\Variable
Definition:
Delete.php:7