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

Public Member Functions

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

Detailed Description

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

Definition at line 28 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 37 of file ItemsProcessorFunctions.php.

◆ populateFallbackLanguages()

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

Return language items for use in site_languages.fallbacks

Definition at line 87 of file ItemsProcessorFunctions.php.

◆ populateSiteSets()

TYPO3\CMS\Backend\Configuration\TCA\ItemsProcessorFunctions::populateSiteSets ( array &  $fieldConfiguration)

Definition at line 125 of file ItemsProcessorFunctions.php.