コード例 #1
0
 /**
  * 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();
 }
コード例 #2
0
 /**
  * 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);
 }