AfterPageColumnsSelectedForLocalizationEvent

final 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.

Table of Contents

Methods

__construct()  : mixed
getBackendLayout()  : BackendLayout
getColumnList()  : array
Returns a list of integer column position numbers used in the BackendLayout.
getColumns()  : array
Returns list of columns, indexed by column position number, value is label (either LLL: or hardcoded).
getParameters()  : array
Returns request parameters passed to LocalizationController.
getRecords()  : array
Returns an array of records which were used when building the original column manifest and column position numbers list.
setColumnList()  : void
setColumns()  : void

Methods

__construct()

public __construct(array $columns, array $columnList, BackendLayout $backendLayout, array $records, array $parameters) : mixed

Parameters

$columns : array
$columnList : array
$backendLayout : BackendLayout
$records : array
$parameters : array

getColumnList()

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

public getColumnList() : array

Return values

array

getColumns()

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

public getColumns() : array

Return values

array

getParameters()

Returns request parameters passed to LocalizationController.

public getParameters() : array

Return values

array

getRecords()

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

public getRecords() : array

Return values

array

setColumnList()

public setColumnList(array $columnList) : void

Parameters

$columnList : array

setColumns()

public setColumns(array $columns) : void

Parameters

$columns : array
On this page