15 calls to Drupal::languageManager() in Drupal 9
- 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.
- 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.
- 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().