BeforePageLanguageOverlayEvent

New in version 12.0

The PSR-14 event \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 BeforeRecordLanguageOverlayEvent and AfterRecordLanguageOverlayEvent.

Example

API

class BeforePageLanguageOverlayEvent
Fully qualified name
\TYPO3\CMS\Core\Domain\Event\BeforePageLanguageOverlayEvent

Event which is fired before a single page or a list of pages are about to be translated (or tried to be localized).

getPageInput ( )
Returns
array
setPageInput ( array $pageInput)
param $pageInput

the pageInput

getPageIds ( )
Returns
array
setPageIds ( array $pageIds)
param $pageIds

the pageIds

getLanguageAspect ( )
Returns
\TYPO3\CMS\Core\Context\LanguageAspect
setLanguageAspect ( \TYPO3\CMS\Core\Context\LanguageAspect $languageAspect)
param $languageAspect

the languageAspect