‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\Controller\Event\AfterPageColumnsSelectedForLocalizationEvent Class Reference

Public Member Functions

 __construct (private array $columns, private array $columnList, private readonly BackendLayout $backendLayout, private readonly array $records, private readonly array $parameters)
 
 getColumns ()
 
 setColumns (array $columns)
 
 getColumnList ()
 
 setColumnList (array $columnList)
 
 getBackendLayout ()
 
 getRecords ()
 
 getParameters ()
 

Detailed Description

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.

Definition at line 29 of file AfterPageColumnsSelectedForLocalizationEvent.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Backend\Controller\Event\AfterPageColumnsSelectedForLocalizationEvent::__construct ( private array  $columns,
private array  $columnList,
private readonly BackendLayout  $backendLayout,
private readonly array  $records,
private readonly array  $parameters 
)

Member Function Documentation

◆ getBackendLayout()

TYPO3\CMS\Backend\Controller\Event\AfterPageColumnsSelectedForLocalizationEvent::getBackendLayout ( )

◆ getColumnList()

TYPO3\CMS\Backend\Controller\Event\AfterPageColumnsSelectedForLocalizationEvent::getColumnList ( )

Returns a list of integer column position numbers used in the BackendLayout.

Definition at line 55 of file AfterPageColumnsSelectedForLocalizationEvent.php.

◆ getColumns()

TYPO3\CMS\Backend\Controller\Event\AfterPageColumnsSelectedForLocalizationEvent::getColumns ( )

Returns list of columns, indexed by column position number, value is label (either LLL: or hardcoded).

Definition at line 42 of file AfterPageColumnsSelectedForLocalizationEvent.php.

◆ getParameters()

TYPO3\CMS\Backend\Controller\Event\AfterPageColumnsSelectedForLocalizationEvent::getParameters ( )

Returns request parameters passed to LocalizationController.

Definition at line 82 of file AfterPageColumnsSelectedForLocalizationEvent.php.

◆ getRecords()

TYPO3\CMS\Backend\Controller\Event\AfterPageColumnsSelectedForLocalizationEvent::getRecords ( )

Returns an array of records which were used when building the original column manifest and column position numbers list.

Definition at line 74 of file AfterPageColumnsSelectedForLocalizationEvent.php.

◆ setColumnList()

TYPO3\CMS\Backend\Controller\Event\AfterPageColumnsSelectedForLocalizationEvent::setColumnList ( array  $columnList)

◆ setColumns()

TYPO3\CMS\Backend\Controller\Event\AfterPageColumnsSelectedForLocalizationEvent::setColumns ( array  $columns)