You are here

service language_manager in Drupal 10

Same name and namespace in other branches
  1. 8 core/core.services.yml \language_manager
  2. 9 core/core.services.yml \language_manager

Class

Drupal\Core\Language\LanguageManager
141 string references to language_manager
AccountForm::create in core/modules/user/src/AccountForm.php
Instantiates a new instance of this class.
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
Instantiates a new instance of this entity handler.
BlockContentTranslationUITest::doTestTranslationEdit in core/modules/block_content/tests/src/Functional/BlockContentTranslationUITest.php
BlockForm::create in core/modules/block/src/BlockForm.php
Instantiates a new instance of this class.

... See full list

File

core/core.services.yml
core/core.services.yml

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