Deprecation: #92062 - Migrate RecordListController hooks to PSR-14 event¶
The following hooks have been marked as deprecated:
Both hooks were used to add content before or after the main content of the list module.
Using the hooks still works as before, but trigger a PHP
The hooks will be removed and stop working in TYPO3 v12.
Please migrate to the PSR-14 event:
TYPO3 installations with extensions that hook into the RecordListController.
The functionality of both hooks has been migrated to the following PSR-14 event:
The event class contains the following relevant public methods:
getRequestReturns the request object from the list module request.
addContentAboveAdd additional content as string as it is to be shown above the main content.
addContentBelowAdd additional content as string as it is to be shown below the main content.
The event object is used as parameter for the event listener method (default is
The listener needs to be registered in the extension:
My\Extension\Provider\MyAdditionalContentProvider: tags: - name: event.listener identifier: 'my-additional-content' event: TYPO3\CMS\Recordlist\Event\RenderAdditionalContentToRecordListEvent
Please have a look at
TYPO3\CMS\SysNote\Provider\RecordListProvider as an example for the