Copied unchanged from public/typo3conf/ext/ of EP/website at 9593cc8631354f8a363d6609de8b7433f669a9a0 (Git-tracked files only). History stays in the old repository. Only composer.json files are added so the extensions install as path packages. Co-Authored-By: Claude Opus 5.5 <[email protected]>
21 lines
477 B
PHP
21 lines
477 B
PHP
<?php
|
|
|
|
namespace EP\EpTheme\Hooks\PageLayoutView;
|
|
|
|
use TYPO3\CMS\Backend\Utility\BackendUtility;
|
|
|
|
class DisrupterPreviewRenderer extends AbstractPreviewRenderer
|
|
{
|
|
protected $cType = 'disrupter';
|
|
|
|
protected function getAssignmentsForTemplate(): array
|
|
{
|
|
$uid = $this->data['tx_eptheme_disrupter'];
|
|
$content = BackendUtility::getRecord('tx_eptheme_domain_model_disrupter', $uid);
|
|
|
|
return [
|
|
'content' => $content,
|
|
];
|
|
}
|
|
}
|