Свойство | Type | Description | |
---|---|---|---|
$backendConfig | Magento\Config\Model\Config |
Méthode | Description | |
---|---|---|
__construct ( Magento\Backend\App\Action\Context $context, Magento\Config\Model\Config\Structure $configStructure, Magento\Config\Controller\Adminhtml\System\ConfigSectionChecker $sectionChecker, Magento\Config\Model\Config $backendConfig ) | Class constructor |
Méthode | Description | |
---|---|---|
isSectionAllowed ( string $sectionId ) : boolean | Sets scope for backend config |
public __construct ( Magento\Backend\App\Action\Context $context, Magento\Config\Model\Config\Structure $configStructure, Magento\Config\Controller\Adminhtml\System\ConfigSectionChecker $sectionChecker, Magento\Config\Model\Config $backendConfig ) | ||
$context | Magento\Backend\App\Action\Context | Action context |
$configStructure | Magento\Config\Model\Config\Structure | Relevance configuration Structure |
$sectionChecker | Magento\Config\Controller\Adminhtml\System\ConfigSectionChecker | Configuration Section Checker |
$backendConfig | Magento\Config\Model\Config | Configuration model |
protected isSectionAllowed ( string $sectionId ) : boolean | ||
$sectionId | string | The section being viewed/edited/saved |
Résultat | boolean |