resultForwardFactory = $resultForwardFactory; $this->synonymRepository = $synonymRepository; $this->synonymFactory = $synonymFactory; $this->registry = $registry; $this->indexerRegistry = $indexerRegistry; } /** * @param \Magento\Backend\Model\View\Result\Page $resultPage * @return \Magento\Backend\Model\View\Result\Page */ protected function initPage($resultPage) { $resultPage->setActiveMenu('Amasty_ElasticSearch::Amasty_ElasticSearch'); $resultPage->getConfig()->getTitle()->prepend(__('Manage Synonyms')); return $resultPage; } }