LanguageManager::__construct

public LanguageManager::__construct(LanguageDefault $default_language)

Constructs the language manager.

Parameters

\Drupal\Core\Language\LanguageDefault $default_language: The default language.

File

core/lib/Drupal/Core/Language/LanguageManager.php, line 41

Class

LanguageManager
Class responsible for providing language support on language-unaware sites.

Namespace

Drupal\Core\Language

Code

public function __construct(LanguageDefault $default_language) {
  $this->defaultLanguage = $default_language;
}
doc_Drupal
2016-10-29 09:22:40
Comments
Leave a Comment

Please login to continue.