Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (Output\ConfigInterface $outputConfig, ModuleListInterface $moduleList, array $outputConfigPaths=[]) | |
isEnabled ($moduleName) | |
isOutputEnabled ($moduleName) | |
Protected Member Functions | |
_isCustomOutputConfigEnabled ($moduleName) | |
Module status manager.
Usage:
Definition at line 20 of file Manager.php.
__construct | ( | Output\ConfigInterface | $outputConfig, |
ModuleListInterface | $moduleList, | ||
array | $outputConfigPaths = [] |
||
) |
Output\ConfigInterface | $outputConfig | |
ModuleListInterface | $moduleList | |
array | $outputConfigPaths |
Definition at line 44 of file Manager.php.
|
protected |
Whether a configuration switch for a module output permits output or not
string | $moduleName | Fully-qualified module name |
Definition at line 90 of file Manager.php.
isEnabled | ( | $moduleName | ) |
Whether a module is enabled in the configuration or not
string | $moduleName | Fully-qualified module name |
Definition at line 60 of file Manager.php.
isOutputEnabled | ( | $moduleName | ) |
Whether a module output is permitted by the configuration or not
string | $moduleName | Fully-qualified module name |
Definition at line 76 of file Manager.php.