TcaColumnsProcessFieldDescriptions implements FormDataProviderInterface

Works on processedTca to determine the final value of field descriptions.

processedTca['columns']['aField']['description']

Table of Contents

Interfaces

FormDataProviderInterface
Interface must be implemented by form data provider classes.

Methods

addData()  : array<string|int, mixed>
Iterate over all processedTca columns fields
getLanguageService()  : LanguageService
setDescriptionFromPageTsConfig()  : array<string|int, mixed>
page TSconfig can override description:
translateDescriptions()  : array<string|int, mixed>
Translate all descriptions if needed.

Methods

addData()

Iterate over all processedTca columns fields

public addData(array<string|int, mixed> $result) : array<string|int, mixed>
Parameters
$result : array<string|int, mixed>

Result array

Return values
array<string|int, mixed>

Modified result array

setDescriptionFromPageTsConfig()

page TSconfig can override description:

protected setDescriptionFromPageTsConfig(array<string|int, mixed> $result) : array<string|int, mixed>

TCEFORM.aTable.aField.description = override TCEFORM.aTable.aField.description.en = override

Parameters
$result : array<string|int, mixed>

Result array

Return values
array<string|int, mixed>

Modified result array

translateDescriptions()

Translate all descriptions if needed.

protected translateDescriptions(array<string|int, mixed> $result) : array<string|int, mixed>
Parameters
$result : array<string|int, mixed>

Result array

Return values
array<string|int, mixed>

Modified result array


        
On this page

Search results