Feature: #98303 - PSR-14 events for modifying language overlays¶
Three new PSR-14 events have been introduced which serve as a more powerful
and flexible alternative for the now removed
The new PSR-14 events allow listeners to modify corresponding information, before and after TYPO3 tries to overlay a language version of any kind of record. "Language Overlaying" is a core concept of TYPO3 to find a suitable translation for a record and merged together with the base record.
can be used to modify information (such as the
or the actual incoming record from the database) before the database
can be used to modify the actual translated record (if found) to add additional
information or do custom processing of the record.
\TYPO3\CMS\Core\Domain\Event\BeforePageLanguageOverlayEvent is a special
event which is fired when TYPO3 is about to do the language overlay of one or
multiple pages, which could be one full record, or multiple page IDs. This
event is fired only for pages and in-between the events above.