20 calls to Drupal::languageManager()

ConfigurableLanguage::postDelete in core/modules/language/src/Entity/ConfigurableLanguage.php
Acts on deleted entities before the delete hook is invoked.
ConfigurableLanguage::postSave in core/modules/language/src/Entity/ConfigurableLanguage.php
Acts on a saved entity before the insert or update hook is invoked.
DrupalTest::testLanguageManager in core/tests/Drupal/Tests/Core/DrupalTest.php
Tests the languageManager() method.
EntityBase::languageManager in core/lib/Drupal/Core/Entity/EntityBase.php
Gets the language manager.
InstallerTranslationMultipleLanguageNonInteractiveTest::testTranslationsLoaded in core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageNonInteractiveTest.php
Tests that translations ended up at the expected places.
InstallerTranslationMultipleLanguageTest::testTranslationsLoaded in core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationMultipleLanguageTest.php
Tests that translations ended up at the expected places.
InstallerTranslationTest::testInstaller in core/tests/Drupal/FunctionalTests/Installer/InstallerTranslationTest.php
Verifies the expected behaviors of the installation result.
LanguageBlock::getDerivativeDefinitions in core/modules/language/src/Plugin/Derivative/LanguageBlock.php
Gets the definition of all derivatives of a base plugin.
LanguageConfiguration::languageManager in core/modules/language/src/Element/LanguageConfiguration.php
Wraps the language manager.
LanguageReference::getAllValidLangcodes in core/lib/Drupal/Core/TypedData/Plugin/DataType/LanguageReference.php
Returns all valid values for a `langcode` config value.
LocaleDefaultConfigStorageTest::testGetComponentNames in core/modules/locale/tests/src/Kernel/LocaleDefaultConfigStorageTest.php
NodeListBuilder::buildRow in core/modules/node/src/NodeListBuilder.php
Builds a row for an entity in the entity listing.
PluginBase::listLanguages in core/modules/views/src/Plugin/views/PluginBase.php
Makes an array of languages, optionally including special languages.
PluginBase::queryLanguageSubstitutions in core/modules/views/src/Plugin/views/PluginBase.php
Returns substitutions for Views queries for languages.
RouteProvider::__construct in core/lib/Drupal/Core/Routing/RouteProvider.php
Constructs a new PathMatcher.
RouteProviderTest::testRouteCaching in core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php
Tests that route caching works.
UserPasswordResetTest::testUserPasswordResetPreferredLanguage in core/modules/user/tests/src/Functional/UserPasswordResetTest.php
Tests password reset functionality when user has set preferred language.
user_mail in core/modules/user/user.module
Implements hook_mail().
_install_config_locale_overrides in core/includes/install.core.inc
Creates a batch to process config translations after installing from config.
_install_config_locale_overrides_process_batch in core/includes/install.core.inc
Batch operation callback for install_config_locale_overrides().

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