TcaSystemLanguageCollector

class \TYPO3\CMS\Core\Localization\TcaSystemLanguageCollector

Provides ItemProcFunc fields for special population of available TYPO3 system languages

Table of Contents

Methods

__construct()  : mixed
populateAvailableSiteLanguages()  : void
Provides a list of all languages available for ALL sites.
populateAvailableSystemLanguagesForBackend()  : void
Populate languages and group by available languages of the Language packs
getAllSites()  : array
getBackendUser()  : BackendUserAuthentication

Methods

populateAvailableSiteLanguages()

Provides a list of all languages available for ALL sites.

public populateAvailableSiteLanguages(array &$fieldInformation) : void

In case no site configuration can be found in the system, a fallback is used to add at least the default language.

Used by be_users and be_groups for their allowed_languages column.

Parameters

$fieldInformation : array

populateAvailableSystemLanguagesForBackend()

Populate languages and group by available languages of the Language packs

public populateAvailableSystemLanguagesForBackend(array &$fieldInformation) : void

Parameters

$fieldInformation : array

getAllSites()

protected getAllSites() : array

Return values

array
On this page