Breaking: #98303 - Removed hooks for language overlays in PageRepository¶
have been removed in favor of new PSR-14 events.
In addition, the method
PageRepository->getRecordOverlay() has been
marked as protected as the new Events take place at a slightly different
piece of code.
Extensions using these hooks will have no effect anymore.
PageRepository->getRecordOverlay() will trigger
a deprecation warning.
TYPO3 installations with custom extensions using these hooks.
Migrate to the new PSR-14 events:
Extensions using the hooks can be made compatible with TYPO3 v11 and TYPO3 v12 by registering a PSR-14-based event listener while keeping the legacy hook in place.
PageRepository->getRecordOverlay() should call
The events are now fired for any kind of database table, and are much more generic, as they contain the full language fallback chain and overlay behavior.