34 \
Magento\Config\Model\Config\Structure $configStructure,
40 $this->_fileFactory = $fileFactory;
41 parent::__construct($context, $configStructure, $sectionChecker);
53 $gridBlock = $this->_view->getLayout()->createBlock(
54 \
Magento\OfflineShipping\Block\Adminhtml\Carrier\Tablerate\Grid::class
57 if ($this->
getRequest()->getParam(
'conditionName')) {
58 $conditionName = $this->
getRequest()->getParam(
'conditionName');
60 $conditionName =
$website->getConfig(
'carriers/tablerate/condition_name');
62 $gridBlock->setWebsiteId(
$website->getId())->setConditionName($conditionName);
__construct(\Magento\Backend\App\Action\Context $context, \Magento\Config\Model\Config\Structure $configStructure, ConfigSectionChecker $sectionChecker, \Magento\Framework\App\Response\Http\FileFactory $fileFactory, \Magento\Store\Model\StoreManagerInterface $storeManager)