Skip to content

Instantly share code, notes, and snippets.

@Merec
Merec / PageLayoutView.php
Last active September 16, 2021 08:55 — forked from uberboom/PageLayoutView.php
TYPO3: Render a backend preview of custom content elements (TYPO3 CMS 6.2)
<?php
namespace Your\Extension\Namespace\Hooks;
class PageLayoutView implements \TYPO3\CMS\Backend\View\PageLayoutViewDrawItemHookInterface
{
/**
* Preprocesses the preview rendering of a content element.
*