/**
  * @param \Magento\Backend\App\Action\Context $context
  * @param \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory
  * @param array $searchModules
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, \Magento\Framework\Controller\Result\JsonFactory $resultJsonFactory, array $searchModules = [])
 {
     $this->_searchModules = $searchModules;
     parent::__construct($context);
     $this->resultJsonFactory = $resultJsonFactory;
 }
 /**
  * Constructor
  *
  * @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)
 {
     $this->resultRedirectFactory = $resultRedirectFactory;
     parent::__construct($context);
 }
Exemple #3
0
 /**
  * @param \Magento\Backend\App\Action\Context $context
  * @param array $searchModules
  */
 public function __construct(\Magento\Backend\App\Action\Context $context, array $searchModules = array())
 {
     $this->_searchModules = $searchModules;
     parent::__construct($context);
 }