function ConfigurableLanguageManager::getDefinedLanguageTypes
Same name in other branches
- 9 core/modules/language/src/ConfigurableLanguageManager.php \Drupal\language\ConfigurableLanguageManager::getDefinedLanguageTypes()
- 8.9.x core/modules/language/src/ConfigurableLanguageManager.php \Drupal\language\ConfigurableLanguageManager::getDefinedLanguageTypes()
- 11.x core/modules/language/src/ConfigurableLanguageManager.php \Drupal\language\ConfigurableLanguageManager::getDefinedLanguageTypes()
Overrides ConfigurableLanguageManagerInterface::getDefinedLanguageTypes
1 call to ConfigurableLanguageManager::getDefinedLanguageTypes()
- ConfigurableLanguageManager::init in core/
modules/ language/ src/ ConfigurableLanguageManager.php
File
-
core/
modules/ language/ src/ ConfigurableLanguageManager.php, line 158
Class
- ConfigurableLanguageManager
- Overrides default LanguageManager to provide configured languages.
Namespace
Drupal\languageCode
public function getDefinedLanguageTypes() {
$this->loadLanguageTypesConfiguration();
return $this->languageTypes['all'];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.