FluidBasedContentPreviewRenderer
Read onlyYes
FinalYes
Check if a Fluid-based preview template was defined for a given CType and render it via Fluid.
Example in page TSconfig: mod.web_layout.tt_content.preview.textmedia = EXT:site_mysite/Resources/Private/Templates/Preview/Textmedia.html
not part of the TYPO3 Core API
Table of Contents
Methods
- __construct() : mixed
- __invoke() : void
Methods
__construct()
public
__construct(FlexFormService $flexFormService, RecordFactory $recordFactory, LoggerInterface $logger, ViewFactoryInterface $viewFactory) : mixed
Parameters
- $flexFormService : FlexFormService
- $recordFactory : RecordFactory
- $logger : LoggerInterface
- $viewFactory : ViewFactoryInterface
__invoke()
public
__invoke(PageContentPreviewRenderingEvent $event) : void
Parameters
- $event : PageContentPreviewRenderingEvent
Attributes
- #[AsEventListener]
- 'typo3-backend/fluid-preview/content'