Esempio n. 1
0
 /**
  * @param \Magento\Backend\App\Action\Context $context
  * @param \Magento\Catalog\Controller\Adminhtml\Product\Builder $productBuilder
  * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\View\Result\PageFactory $resultPageFactory, \Magento\Framework\Registry $registry)
 {
     $this->resultPageFactory = $resultPageFactory;
     $this->_coreRegistry = $registry;
     parent::__construct($context);
 }
Esempio n. 2
0
 /**
  * @param \Magento\Backend\App\Action\Context $context
  * @param \Magento\Framework\Registry $coreRegistry
  * @param \Magento\Backend\Model\View\Result\ForwardFactory $resultForwardFactory
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\Registry $coreRegistry, \Magento\Backend\Model\View\Result\ForwardFactory $resultForwardFactory)
 {
     $this->resultForwardFactory = $resultForwardFactory;
     parent::__construct($context, $coreRegistry);
 }