You are here

protected function LanguageNegotiationInfoTest::languageManager in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/language/tests/src/Functional/LanguageNegotiationInfoTest.php \Drupal\Tests\language\Functional\LanguageNegotiationInfoTest::languageManager()
  2. 9 core/modules/language/tests/src/Functional/LanguageNegotiationInfoTest.php \Drupal\Tests\language\Functional\LanguageNegotiationInfoTest::languageManager()

Returns the configurable language manager.

Return value

\Drupal\language\ConfigurableLanguageManager

File

core/modules/language/tests/src/Functional/LanguageNegotiationInfoTest.php, line 50

Class

LanguageNegotiationInfoTest
Tests alterations to language types/negotiation info.

Namespace

Drupal\Tests\language\Functional

Code

protected function languageManager() {
  return $this->container
    ->get('language_manager');
}