public function LanguageDefault::get in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Language/LanguageDefault.php \Drupal\Core\Language\LanguageDefault::get()
Gets the default language.
Return value
\Drupal\Core\Language\LanguageInterface The default language.
File
- core/
lib/ Drupal/ Core/ Language/ LanguageDefault.php, line 45 - Contains \Drupal\Core\Language\LanguageDefault.
Class
- LanguageDefault
- Provides a simple get and set wrapper to the default language object.
Namespace
Drupal\Core\LanguageCode
public function get() {
return $this->language;
}