public ConfigurableLanguageManager::getLanguageTypes()
Returns an array of the available language types.
Return value
array An array of language type machine names.
Overrides LanguageManager::getLanguageTypes
File
- core/modules/language/src/ConfigurableLanguageManager.php, line 150
Class
- ConfigurableLanguageManager
- Overrides default LanguageManager to provide configured languages.
Namespace
Drupal\language
Code
public function getLanguageTypes() { $this->loadLanguageTypesConfiguration(); return $this->languageTypes['configurable']; }
Please login to continue.