LanguageManager::$defaultLanguage
Same name in other branches
- 9 core/lib/Drupal/Core/Language/LanguageManager.php \Drupal\Core\Language\LanguageManager::defaultLanguage
- 8.9.x core/lib/Drupal/Core/Language/LanguageManager.php \Drupal\Core\Language\LanguageManager::defaultLanguage
- 11.x core/lib/Drupal/Core/Language/LanguageManager.php \Drupal\Core\Language\LanguageManager::defaultLanguage
The default language object.
Type: \Drupal\Core\Language\LanguageDefault
File
-
core/
lib/ Drupal/ Core/ Language/ LanguageManager.php, line 33
Class
- LanguageManager
- Class responsible for providing language support on language-unaware sites.
Namespace
Drupal\Core\LanguageCode
protected $defaultLanguage;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.