AfterRecordLanguageOverlayEvent

New in version 12.0

This event serves as a replacement for the removed hook $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_page.php']['getRecordOverlay'].

The PSR-14 event \TYPO3\CMS\Core\Domain\Event\AfterRecordLanguageOverlayEvent can be used to modify the actual translated record (if found) to add additional information or perform custom processing of the record.

Example

API

class \TYPO3\CMS\Core\Domain\Event\ AfterRecordLanguageOverlayEvent

Event which is fired after a record was translated (or tried to be localized).

getTable ( )
returntype

string

getRecord ( )
returntype

array

getLanguageAspect ( )
returntype

TYPO3\CMS\Core\Context\LanguageAspect

setLocalizedRecord ( array $localizedRecord)
param array $localizedRecord

the localizedRecord

getLocalizedRecord ( )
returntype

array

overlayingWasAttempted ( )

Determines if the overlay functionality happened, thus, returning the lo

returntype

bool