TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
core/Configuration/TCA/Overrides/be_users.php
Go to the documentation of this file.
1 <?php
2 defined('TYPO3_MODE') or die();
3 
4 // Populate available languages
6 $locales = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Localization\Locales::class);
7 $languageItems = $locales->getLanguages();
8 unset($languageItems['default']);
9 asort($languageItems);
10 foreach ($languageItems as $locale => $name) {
11  $GLOBALS['TCA']['be_users']['columns']['lang']['config']['items'][] = [$name, $locale];
12 }
if(TYPO3_MODE=== 'BE') $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tsfebeuserauth.php']['frontendEditingController']['default']