/** * Set up the doc header properly here * * @param ViewInterface $view */ protected function initializeView(ViewInterface $view) { $this->iconFactory = GeneralUtility::makeInstance(IconFactory::class); /** @var BackendTemplateView $view */ parent::initializeView($view); $view->getModuleTemplate()->getDocHeaderComponent()->setMetaInformation([]); $pageRenderer = $this->view->getModuleTemplate()->getPageRenderer(); $pageRenderer->loadRequireJsModule('TYPO3/CMS/Backend/ClickMenu'); $this->createMenu(); $this->createButtons(); }
/** * Initialize common view variables. * Currently only the RSS title is initialized. * * @param \TYPO3\CMS\Extbase\Mvc\View\ViewInterface $view */ public function initializeView(\TYPO3\CMS\Extbase\Mvc\View\ViewInterface $view) { parent::initializeView($view); $this->initializeRssTitle($view); }