FluidTYPO3\Fluidpages\Controller\PageController::rawAction PHP Method

rawAction() public method

public rawAction ( ) : string
return string
    public function rawAction()
    {
        $record = $this->getRecord();
        $templateFileReference = $record['tx_fluidpages_templatefile'];
        $templatePathAndFilename = $this->pageConfigurationService->convertFileReferenceToTemplatePathAndFilename($templateFileReference);
        $paths = $this->pageConfigurationService->getViewConfigurationByFileReference($templateFileReference);
        $this->provider->setTemplatePathAndFilename($templatePathAndFilename);
        $this->view->setTemplatePathAndFilename($templatePathAndFilename);
        $this->view->setTemplateRootPath($paths['templateRootPath']);
        $this->view->setPartialRootPath($paths['partialRootPath']);
        $this->view->setLayoutRootPath($paths['layoutRootPath']);
    }