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

[TASK] Remove double plugin header

parent 2fc50d75
No related branches found
Tags 2.1.7
No related merge requests found
......@@ -49,13 +49,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></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