LanguageDefault::get

public LanguageDefault::get()

Gets the default language.

Return value

\Drupal\Core\Language\LanguageInterface The default language.

File

core/lib/Drupal/Core/Language/LanguageDefault.php, line 40

Class

LanguageDefault
Provides a simple get and set wrapper to the default language object.

Namespace

Drupal\Core\Language

Code

public function get() {
  return $this->language;
}
doc_Drupal
2016-10-29 09:22:17
Comments
Leave a Comment

Please login to continue.