public ConfigurableLanguageManager::init()
File
- core/modules/language/src/ConfigurableLanguageManager.php, line 131
Class
- ConfigurableLanguageManager
- Overrides default LanguageManager to provide configured languages.
Namespace
Drupal\language
Code
public function init() { if (!$this->initialized) { foreach ($this->getDefinedLanguageTypes() as $type) { $this->getCurrentLanguage($type); } $this->initialized = TRUE; } }
Please login to continue.