function LanguageNegotiationInfoTest::languageManager

Same name in other branches
  1. 8.9.x core/modules/language/tests/src/Functional/LanguageNegotiationInfoTest.php \Drupal\Tests\language\Functional\LanguageNegotiationInfoTest::languageManager()
  2. 10 core/modules/language/tests/src/Functional/LanguageNegotiationInfoTest.php \Drupal\Tests\language\Functional\LanguageNegotiationInfoTest::languageManager()
  3. 11.x 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');
}

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