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
framework
Module
Output
Config.php
Go to the documentation of this file.
1
<?php
8
namespace
Magento\Framework\Module\Output
;
9
17
class
Config
implements
\Magento\Framework\Module\Output\ConfigInterface
18
{
23
const
XML_PATH_MODULE_OUTPUT_STATUS
=
'advanced/modules_disable_output/%s'
;
24
29
protected
$_scopeConfig
;
30
35
protected
$_storeType
;
36
41
public
function
__construct
(
42
\
Magento
\Framework\
App
\
Config
\ScopeConfigInterface $scopeConfig,
43
$scopeType
44
) {
45
$this->_scopeConfig = $scopeConfig;
46
$this->_storeType = $scopeType;
47
}
48
60
public
function
isEnabled
($moduleName)
61
{
62
return
$this->
isSetFlag
(sprintf(self::XML_PATH_MODULE_OUTPUT_STATUS, $moduleName));
63
}
64
76
public
function
isSetFlag
(
$path
)
77
{
78
return
$this->_scopeConfig->isSetFlag(
$path
, $this->_storeType);
79
}
80
}
Magento\Framework\App
Magento\Framework\Module\Output\ConfigInterface
Definition:
ConfigInterface.php:12
Magento\Framework\Module\Output\Config\__construct
__construct(\Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig, $scopeType)
Definition:
Config.php:41
Magento\Framework\Module\Output\Config\$_scopeConfig
$_scopeConfig
Definition:
Config.php:29
Magento\Framework\Module\Output
Definition:
Config.php:8
Magento\Framework\Module\Output\Config
Definition:
Config.php:17
Magento
Magento\Framework\Module\Output\Config\isEnabled
isEnabled($moduleName)
Definition:
Config.php:60
Magento\Framework\Module\Output\Config\$_storeType
$_storeType
Definition:
Config.php:35
Magento\Framework\Module\Output\Config\isSetFlag
isSetFlag($path)
Definition:
Config.php:76
Magento\Framework\Module\Output\Config\XML_PATH_MODULE_OUTPUT_STATUS
const XML_PATH_MODULE_OUTPUT_STATUS
Definition:
Config.php:23
$path
$path
Definition:
import_with_filesystem_images.php:14