Issue Bug Closed

#102569Unable to add additional icons to content element header in Page module

Friedemann Altrock 11/30/23, 13:16 updated 12/01/23, 09:01

Description

Before the complete rewrite of the PageLayoutView, it was possible to add additional icons in the header of a content element in the Page module, via the hook $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['recStatInfoHooks'] in \TYPO3\CMS\Backend\View\PageLayoutView::tt_content_drawHeader.

In #98441 this hook has been removed and the PSR-14 event ModifyRecordListRecordActionsEvent is suggested as a replacement.
This event is only dispatched from the DatabaseRecordList and not from GridColumnItem.
Also, the purpose of the event in the record list is to extend the actions button group, not add icons.

As such I view the lack of a possibility to add more icons after language and lock info to be a regression from v12 onwards.

Reference in 11.5: https://github.com/TYPO3/typo3/blob/8bfd2ed40d09379870f74a430d4e72cb6a52470a/typo3/sysext/backend/Classes/View/BackendLayout/Grid/GridColumnItem.php#L178-L181

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.