pageFactory = $pageFactory; $this->resultRedirectFactory=$resultRedirectFactory; $this->scopeConfig=$scopeConfig; return parent::__construct($context); } public function execute() { $storeScope = \Magento\Store\Model\ScopeInterface::SCOPE_STORE; $page_object = $this->pageFactory->create(); return $page_object; } }