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-ui
Model
Config.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Ui\Model
;
7
8
use
Magento\Framework\App\Config\ScopeConfigInterface
;
9
use
Magento\Framework\View\Element\Template
;
10
11
class
Config
12
{
16
const
WYSIWYG_EDITOR_CONFIG_PATH
=
'cms/wysiwyg/editor'
;
17
21
const
XML_PATH_LOGGING
=
'dev/js/session_storage_logging'
;
22
26
const
XML_PATH_KEY
=
'dev/js/session_storage_key'
;
27
31
protected
$scopeConfig
;
32
36
public
function
__construct
(
ScopeConfigInterface
$scopeConfig
)
37
{
38
$this->scopeConfig =
$scopeConfig
;
39
}
40
46
public
function
isLoggingEnabled
()
47
{
48
return
$this->scopeConfig->getValue(self::XML_PATH_LOGGING);
49
}
50
56
public
function
getSessionStorageKey
()
57
{
58
return
$this->scopeConfig->getValue(self::XML_PATH_KEY);
59
}
60
}
Magento\Ui\Model\Config\XML_PATH_LOGGING
const XML_PATH_LOGGING
Definition:
Config.php:21
Magento\Framework\View\Element\Template
Definition:
Context.php:6
Magento\Ui\Model
Definition:
AuthorizationMock.php:8
Magento\Ui\Model\Config
Definition:
Config.php:11
Magento\Ui\Model\Config\isLoggingEnabled
isLoggingEnabled()
Definition:
Config.php:46
Magento\Ui\Model\Config\WYSIWYG_EDITOR_CONFIG_PATH
const WYSIWYG_EDITOR_CONFIG_PATH
Definition:
Config.php:16
Magento\Ui\Model\Config\XML_PATH_KEY
const XML_PATH_KEY
Definition:
Config.php:26
Magento\Ui\Model\Config\getSessionStorageKey
getSessionStorageKey()
Definition:
Config.php:56
Magento\Framework\App\Config\ScopeConfigInterface
Definition:
ScopeConfigInterface.php:15
Magento\Ui\Model\Config\__construct
__construct(ScopeConfigInterface $scopeConfig)
Definition:
Config.php:36
Magento\Ui\Model\Config\$scopeConfig
$scopeConfig
Definition:
Config.php:31