‪TYPO3CMS  11.5
TYPO3\CMS\Backend\Configuration\TCA\ItemsProcessorFunctions Class Reference

Public Member Functions

 populateAvailableLanguagesFromSites (array &$fieldDefinition)
 
 populateFallbackLanguages (array &$fieldDefinition)
 

Detailed Description

This class provides items processor functions for the usage in TCA definition

Definition at line 27 of file ItemsProcessorFunctions.php.

Member Function Documentation

◆ populateAvailableLanguagesFromSites()

TYPO3\CMS\Backend\Configuration\TCA\ItemsProcessorFunctions::populateAvailableLanguagesFromSites ( array &  $fieldDefinition)

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. Additionally, a placeholder value is added to allow the creation of new site languages.

Definition at line 36 of file ItemsProcessorFunctions.php.

◆ populateFallbackLanguages()

TYPO3\CMS\Backend\Configuration\TCA\ItemsProcessorFunctions::populateFallbackLanguages ( array &  $fieldDefinition)

Return language items for use in site_languages.fallbacks

Parameters
array$fieldDefinition

Definition at line 88 of file ItemsProcessorFunctions.php.