59 \
Magento\Framework\Registry $coreRegistry,
65 $this->_coreRegistry = $coreRegistry;
66 parent::__construct($context);
78 protected function createPage()
81 $resultPage = $this->resultPageFactory->create();
82 $resultPage->setActiveMenu(
'Magento_Variable::system_variable')
83 ->addBreadcrumb(
__(
'Custom Variables'),
__(
'Custom Variables'));
94 $variableId = $this->
getRequest()->getParam(
'variable_id',
null);
101 $this->_coreRegistry->register(
'current_variable',
$variable);
__construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\Registry $coreRegistry, \Magento\Backend\Model\View\Result\ForwardFactory $resultForwardFactory, \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory, \Magento\Framework\View\Result\PageFactory $resultPageFactory, \Magento\Framework\View\LayoutFactory $layoutFactory)