Breaking: #98375 - Removed hooks in Page Module
See forge#98375
Description
Since TYPO3 v10, TYPO3 Backend's Page Module is based on Fluid and custom rendering functionality. The internal class "PageLayoutView" is now removed, along with its interfaces and hooks.
The following hooks are removed with a PSR-14 equivalent:
$GLOBALS
['TYPO3_ CONF_ VARS'] ['SC_ OPTIONS'] ['cms/ layout/ class. tx_ cms_ layout. php'] ['record_ is_ used'] $GLOBALS
['TYPO3_ CONF_ VARS'] ['SC_ OPTIONS'] [Page Layout View:: class] ['modify Query'] $GLOBALS
['TYPO3_ CONF_ VARS'] ['SC_ OPTIONS'] ['cms/ layout/ class. tx_ cms_ layout. php'] ['tt_ content_ draw Item']
The following hooks have been removed without substitution:
$GLOBALS
['TYPO3_ CONF_ VARS'] ['SC_ OPTIONS'] ['cms/ layout/ class. tx_ cms_ layout. php'] ['list_ type_ Info'] $GLOBALS
['TYPO3_ CONF_ VARS'] ['SC_ OPTIONS'] ['cms/ layout/ class. tx_ cms_ layout. php'] ['tt_ content_ draw Footer']
Existing patterns such as the PreviewRenderer concept can be used instead of the latter hooks.
Impact
Registering one of the hooks above in TYPO3 v12+ has no effect anymore.
Affected installations
TYPO3 installations with modifications to the page module in third-party extensions via one of the hooks.
Migration
Use
\TYPO3\
as a
drop-in alternative for
$GLOBALS
Use
\TYPO3\
as a drop-in replacement for
$GLOBALS
Use
\TYPO3\
as a
drop-in replacement for
$GLOBALS
Extension authors that use these hooks can register a new event listener and keep the hook registration to stay compatible with TYPO3 v11 and TYPO3 v12 at the same time.