Skip to content
Snippets Groups Projects
Commit e336741e authored by Matthias Adrowski's avatar Matthias Adrowski
Browse files

[TASK] Remove double header

parent 564cc4c6
No related branches found
No related tags found
No related merge requests found
......@@ -52,13 +52,8 @@ class PreviewRenderer implements PreviewRendererInterface {
* @return string
*/
public function renderPageModulePreviewHeader(GridColumnItem $item): string {
$label = BackendUtility::getLabelFromItemListMerged(
$item->getRecord()['pid'],
'tt_content',
'list_type',
$item->getRecord()['list_type']
);
return '<h4><span class="label label-primary">' . $this->languageService->sL($label) . '</span>&nbsp;</h4>';
// @todo: when v12 hits, add header from PluginRenderer
return '';
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment