function ConfigEntityListMultilingualTest::setUp

Same name in other branches
  1. 8.9.x core/modules/config/tests/src/Functional/ConfigEntityListMultilingualTest.php \Drupal\Tests\config\Functional\ConfigEntityListMultilingualTest::setUp()
  2. 10 core/modules/config/tests/src/Functional/ConfigEntityListMultilingualTest.php \Drupal\Tests\config\Functional\ConfigEntityListMultilingualTest::setUp()
  3. 11.x core/modules/config/tests/src/Functional/ConfigEntityListMultilingualTest.php \Drupal\Tests\config\Functional\ConfigEntityListMultilingualTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/config/tests/src/Functional/ConfigEntityListMultilingualTest.php, line 30

Class

ConfigEntityListMultilingualTest
Tests the listing of configuration entities in a multilingual scenario.

Namespace

Drupal\Tests\config\Functional

Code

protected function setUp() : void {
    parent::setUp();
    // Delete the override config_test entity. It is not required by this test.
    \Drupal::entityTypeManager()->getStorage('config_test')
        ->load('override')
        ->delete();
    ConfigurableLanguage::createFromLangcode('hu')->save();
    $this->drupalPlaceBlock('local_actions_block');
}

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