/**
  * @param \Magento\Backend\App\Action\Context $context
  * @param \Magento\Security\Helper\SecurityCookie $securityCookieHelper
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Security\Helper\SecurityCookie $securityCookieHelper)
 {
     parent::__construct($context);
     $this->securityCookieHelper = $securityCookieHelper;
 }
 /**
  * @param \Magento\Backend\App\Action\Context $context
  * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\View\Result\PageFactory $resultPageFactory)
 {
     parent::__construct($context);
     $this->resultPageFactory = $resultPageFactory;
 }
Exemple #3
0
 /**
  * @param \Magento\Backend\App\Action\Context $context
  * @param \Magento\Backend\Model\View\Result\RedirectFactory $resultRedirectFactory
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Backend\Model\View\Result\RedirectFactory $resultRedirectFactory)
 {
     parent::__construct($context);
     $this->resultRedirectFactory = $resultRedirectFactory;
 }