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; }
Please login to continue.