Feature: #90945 - PSR-14 event for LocalizationController when reading records/columns to be translated¶
See forge#90945
Description¶
A new PSR-14 event \TYPO3\CMS\Backend\Controller\Event\AfterPageColumnsSelectedForLocalizationEvent
has been added and will be dispatched after records and columns are collected in the :phpLocalizationController
.
The event receives:
- The default columns and columnsList built by
LocalizationController
- The list of records that were analyzed to create the columns manifest
- The parameters received by the :php
LocalizationController
The event allows changes to:
- the columns
- the columnsList
Impact¶
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 \TYPO3\CMS\Backend\Controller\Event\AfterPageColumnsSelectedForLocalizationEvent
event.