AfterRecordLanguageOverlayEvent

New in version 12.0

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 AfterRecordLanguageOverlayEvent
Fully qualified name
\TYPO3\CMS\Core\Domain\Event\AfterRecordLanguageOverlayEvent

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

getTable ( )
Returns
string
getRecord ( )
Returns
array
getLanguageAspect ( )
Returns
\TYPO3\CMS\Core\Context\LanguageAspect
setLocalizedRecord ( ?array $localizedRecord)
param $localizedRecord

the localizedRecord

getLocalizedRecord ( )
Returns
?array
overlayingWasAttempted ( )

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

Returns
bool