ItemsProcessorFunctions

class \TYPO3\CMS\Backend\Configuration\TCA\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 &$fieldDefinition) : void

Additionally, a placeholder value is added to allow the creation of new site languages.

Parameters

$fieldDefinition : array

populateFallbackLanguages()

Return language items for use in site_languages.fallbacks

public populateFallbackLanguages(array &$fieldDefinition) : void

Parameters

$fieldDefinition : array

populateFlags()

public populateFlags(array &$fieldConfiguration) : void

Parameters

$fieldConfiguration : array
On this page