/** * Initializes the DrawItem * * @return void */ public function initialize() { parent::initialize(); $this->view = $this->objectManager->get(StandaloneView::class); $this->view->setTemplatePathAndFilename(GeneralUtility::getFileAbsFileName('EXT:vantomas/Resources/Private/Templates/DrawItem/SiteLastUpdatedPages.html')); $this->pageRepository = $this->objectManager->get(PageRepository::class); }
/** * Initializes the DrawItem * * @return void */ public function initialize() { parent::initialize(); $this->view = $this->objectManager->get(StandaloneView::class); $this->view->setTemplatePathAndFilename(GeneralUtility::getFileAbsFileName('EXT:vantomas/Resources/Private/Templates/DrawItem/CodeSnippet.html')); }