Breaking: #102806 - Hooks in PageRepository removed
See forge#102806
Description
The following hooks in TYPO3's Core API class \TYPO3\
have been removed:
$GLOBALS
['TYPO3_ CONF_ VARS'] ['SC_ OPTIONS'] [\ TYPO3\ CMS\ Core\ Domain\ Page Repository:: class] ['init'] $GLOBALS
['TYPO3_ CONF_ VARS'] ['SC_ OPTIONS'] ['t3lib/ class. t3lib_ page. php'] ['get Page']
Later hook has been replaced by the new PSR-14 event
\TYPO3\
.
Impact
Any hook implementation registered is not executed anymore in TYPO3 v13.0+.
Affected installations
TYPO3 installations with custom extensions using these hooks.
Migration
The hook $GLOBALS
is removed without substitution. Back in TYPO3 v4.x this hook was useful to modify
public properties after everything was initialized. Nowadays, this is not
necessary anymore, as the properties are not public anymore and calculated
based on the Context API when instantiated.
The hook $GLOBALS
is removed without deprecation in order to allow extensions to work with TYPO3
v12 (using the hook) and v13+ (using the new Event) when implementing the event
as well without any further deprecations. Use the
PSR-14 event
to allow greater influence in the functionality.