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 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.

API

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

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

getTable()
Return type

string

getRecord()
Return type

array

getLanguageAspect()
Return type

TYPO3\CMS\Core\Context\LanguageAspect

setLocalizedRecord(array $localizedRecord)
Parameters
  • $localizedRecord (array) -- the localizedRecord

getLocalizedRecord()
Return type

array

overlayingWasAttempted()

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

Return type

bool