/**
  * @return string
  */
 public function indexAction()
 {
     $this->view->assign('grid', $this->grid);
     $this->view->assign('row', $this->row);
     $paths = $this->configurationService->getViewConfigurationForExtensionName('flux');
     $templateRootPath = TRUE === isset($paths['templateRootPath']) ? $paths['templateRootPath'] : NULL;
     $templatePathAndFilename = ResolveUtility::resolveWidgetTemplateFileBasedOnTemplateRootPathAndEnvironment($templateRootPath);
     $this->view->setTemplatePathAndFilename($templatePathAndFilename);
 }
Example #2
0
 /**
  * @return string
  */
 public function indexAction()
 {
     $workspaceVersionOfRecord = $this->workspacesAwareRecordService->getSingle('tt_content', '*', $this->row['uid']);
     $this->view->assign('grid', $this->grid);
     $this->view->assign('row', $workspaceVersionOfRecord);
     $this->view->assign('colPosFluxContent', ContentService::COLPOS_FLUXCONTENT);
     $paths = $this->configurationService->getViewConfigurationForExtensionName('flux');
     $templateRootPath = TRUE === isset($paths['templateRootPath']) ? $paths['templateRootPath'] : NULL;
     $templatePathAndFilename = ResolveUtility::resolveWidgetTemplateFileBasedOnTemplateRootPathAndEnvironment($templateRootPath);
     $this->view->setTemplatePathAndFilename($templatePathAndFilename);
 }