ItemsProcessorFunctions
This class provides items processor functions for the usage in TCA definition
Table of Contents
Methods
- populateAvailableLanguagesFromSites() : void
- Return languages found in already existing site configurations, sorted by their value. In case the same language is used with different titles, they will be added to the items label field.
- populateFallbackLanguages() : void
- Return language items for use in site_languages.fallbacks
- populateFlags() : void
Methods
populateAvailableLanguagesFromSites()
Return languages found in already existing site configurations, sorted by their value. In case the same language is used with different titles, they will be added to the items label field.
public
populateAvailableLanguagesFromSites(array<string|int, mixed> &$fieldDefinition) : void
Additionally, a placeholder value is added to allow the creation of new site languages.
Parameters
- $fieldDefinition : array<string|int, mixed>
populateFallbackLanguages()
Return language items for use in site_languages.fallbacks
public
populateFallbackLanguages(array<string|int, mixed> &$fieldDefinition) : void
Parameters
- $fieldDefinition : array<string|int, mixed>
populateFlags()
public
populateFlags(array<string|int, mixed> &$fieldConfiguration) : void
Parameters
- $fieldConfiguration : array<string|int, mixed>