Project

General

Profile

Actions

Bug #102569

closed

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

Added by Friedemann Altrock 12 months ago. Updated 12 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Start date:
2023-11-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

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

Actions

Also available in: Atom PDF