Property | Type | Description | |
---|---|---|---|
$configStructure | Magento\Config\Model\Config\Structure | ||
$sectionChecker | Magento\Config\Controller\Adminhtml\System\ConfigSectionChecker |
Method | Description | |
---|---|---|
__construct ( Magento\Backend\App\Action\Context $context, Magento\Config\Model\Config\Structure $configStructure, Magento\Config\Controller\Adminhtml\System\ConfigSectionChecker $sectionChecker ) | Class constructor | |
dispatch ( Magento\Framework\App\RequestInterface $request ) : Magento\Framework\App\ResponseInterface | Check if current section is found and is allowed |
Method | Description | |
---|---|---|
_isAllowed ( ) : boolean | Check is allow modify system configuration |
public __construct ( Magento\Backend\App\Action\Context $context, Magento\Config\Model\Config\Structure $configStructure, Magento\Config\Controller\Adminhtml\System\ConfigSectionChecker $sectionChecker ) | ||
$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 |
protected _isAllowed ( ) : boolean | ||
return | boolean |
public dispatch ( Magento\Framework\App\RequestInterface $request ) : Magento\Framework\App\ResponseInterface | ||
$request | Magento\Framework\App\RequestInterface | The current request |
return | Magento\Framework\App\ResponseInterface |
protected Structure,Magento\Config\Model\Config $configStructure | ||
return | Magento\Config\Model\Config\Structure |