AfterPageColumnsSelectedForLocalizationEvent

Event to listen to after the form engine has been initialized (and all data has been persisted).

The PSR-14 event \TYPO3\CMS\Backend\Controller\Event\AfterPageColumnsSelectedForLocalizationEvent will be dispatched after records and columns are collected in the LocalizationController.

The event receives:

  • The default columns and columns list built by LocalizationController
  • The list of records that were analyzed to create the columns manifest
  • The parameters received by the LocalizationController

The event allows changes to:

  • the columns
  • the columns list

This allows third party code to read or manipulate the "columns manifest" that gets displayed in the translation modal when a user has clicked the Translate button in the page module, by implementing a listener for the event.

API

class \TYPO3\CMS\Backend\Controller\Event\ AfterPageColumnsSelectedForLocalizationEvent

This event triggers after the LocalizationController (AJAX) has selected page columns to be translated. Allows third parties to add to or change the columns and content elements withing those columns which will be available for localization through the "translate" modal in the page module.

getColumns ( )
returntype

array

setColumns ( array $columns)
param array $columns

the columns

getColumnList ( )
returntype

array

setColumnList ( array $columnList)
param array $columnList

the columnList

getBackendLayout ( )
returntype

TYPO3\CMS\Backend\View\BackendLayout\BackendLayout

getRecords ( )
returntype

array

getParameters ( )
returntype

array