language_manager

Same name in other branches
  1. 9 core/core.services.yml \language_manager
  2. 8.9.x core/core.services.yml \language_manager

Class

Drupal\Core\Language\LanguageManager
111 string references to language_manager
AccountForm::create in core/modules/user/src/AccountForm.php
AliasTest::testWhitelist in core/modules/path_alias/tests/src/Kernel/AliasTest.php
Tests the alias whitelist.
BaseFieldOverrideStorage::createInstance in core/lib/Drupal/Core/Field/BaseFieldOverrideStorage.php
BlockForm::create in core/modules/block/src/BlockForm.php
BookMultilingualTest::setCurrentLanguage in core/modules/book/tests/src/Kernel/BookMultilingualTest.php
Sets the current language.

... See full list

File

core/core.services.yml

View source
  1. class: Drupal\Core\Language\LanguageManager
  2. arguments:
  3. - '@language.default'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.