You are here

protected function ConfigurableLanguageManagerTest::setUp in Drupal 8

Same name in this branch
  1. 8 core/modules/language/tests/src/Functional/ConfigurableLanguageManagerTest.php \Drupal\Tests\language\Functional\ConfigurableLanguageManagerTest::setUp()
  2. 8 core/modules/language/tests/src/Kernel/ConfigurableLanguageManagerTest.php \Drupal\Tests\language\Kernel\ConfigurableLanguageManagerTest::setUp()
Same name and namespace in other branches
  1. 9 core/modules/language/tests/src/Kernel/ConfigurableLanguageManagerTest.php \Drupal\Tests\language\Kernel\ConfigurableLanguageManagerTest::setUp()

Overrides LanguageTestBase::setUp

File

core/modules/language/tests/src/Kernel/ConfigurableLanguageManagerTest.php, line 38

Class

ConfigurableLanguageManagerTest
Tests the ConfigurableLanguage entity.

Namespace

Drupal\Tests\language\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('user');
  $this->languageNegotiator = $this->container
    ->get('language_negotiator');
  $this->languageManager = $this->container
    ->get('language_manager');
}