LanguageDefault::$language
Same name in other branches
- 9 core/lib/Drupal/Core/Language/LanguageDefault.php \Drupal\Core\Language\LanguageDefault::language
- 8.9.x core/lib/Drupal/Core/Language/LanguageDefault.php \Drupal\Core\Language\LanguageDefault::language
- 11.x core/lib/Drupal/Core/Language/LanguageDefault.php \Drupal\Core\Language\LanguageDefault::language
The default language.
Type: \Drupal\Core\Language\LanguageInterface
File
-
core/
lib/ Drupal/ Core/ Language/ LanguageDefault.php, line 22
Class
- LanguageDefault
- Provides a simple get and set wrapper to the default language object.
Namespace
Drupal\Core\LanguageCode
protected $language;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.