27 \
Magento\Config\Model\Config\Structure $configStructure,
29 \
Magento\Config\Model\Config $backendConfig,
32 parent::__construct($context, $configStructure, $sectionChecker, $backendConfig);
43 $current = $this->
getRequest()->getParam(
'section');
48 $section = $this->_configStructure->getElement($current);
51 $redirectResult = $this->resultRedirectFactory->create();
52 return $redirectResult->setPath(
'adminhtml/*/', [
'website' =>
$website,
'store' =>
$store]);
56 $resultPage = $this->resultPageFactory->create();
57 $resultPage->setActiveMenu(
'Magento_Config::system_config');
58 $resultPage->getLayout()->getBlock(
'menu')->setAdditionalCacheKeyInfo([$current]);
59 $resultPage->addBreadcrumb(
__(
'System'),
__(
'System'), $this->
getUrl(
'*\/system'));
60 $resultPage->getConfig()->getTitle()->prepend(
__(
'Configuration'));
getUrl($route='', $params=[])
__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, \Magento\Framework\View\Result\PageFactory $resultPageFactory)