Breaking: #96526 - Removed hooks for modifying page module content
See forge#96526
Description
The previously available hooks to modify the header
$GLOBALS
and footer
$GLOBALS
content of the page module have been removed in favor of a new PSR-14
event
\TYPO3\
.
The public method
Page
has been
removed as well, since it was only used for the removed hooks.
Impact
Registering any of the mentioned hooks does no longer have any effect in TYPO3 v12.0+. The extension scanner will detect usages as strong match.
The method
Page
is no longer
available and will therefore lead to PHP errors when called from extension
code. The extension scanner will detect usages as weak match.
Affected Installations
TYPO3 installations using one of the mentioned hooks or calling
Page
in custom extension
code.
Migration
Replace the hooks with the new PSR-14 ModifyPageLayoutContentEvent event.