.. include:: /Includes.rst.txt .. index:: Events; RenderAdditionalContentToRecordListEvent .. _RenderAdditionalContentToRecordListEvent: ======================================== RenderAdditionalContentToRecordListEvent ======================================== .. versionadded:: 11.0 This event supersedes the hooks - :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['recordlist/Modules/Recordlist/index.php']['drawHeaderHook']` - :php:`$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['recordlist/Modules/Recordlist/index.php']['drawFooterHook']` The hooks are removed in TYPO3 v12. .. versionchanged:: 12.0 Due to the integration of EXT:recordlist into EXT:backend the namespace of the event changed from :php:`\TYPO3\CMS\Recordlist\Event\RenderAdditionalContentToRecordListEvent` to :php:`\TYPO3\CMS\Backend\Controller\Event\RenderAdditionalContentToRecordListEvent`. For TYPO3 v12 the moved class is available as an alias under the old namespace to allow extensions to be compatible with TYPO3 v11 and v12. The PSR-14 event :php:`\TYPO3\CMS\Backend\Controller\Event\RenderAdditionalContentToRecordListEvent` allows to add content before or after the main content of the :guilabel:`List` module. Example ======= .. include:: /_includes/EventsContributeNote.rst.txt API === .. include:: /CodeSnippets/Events/Backend/RenderAdditionalContentToRecordListEvent.rst.txt