function ElementInfoIntegrationTest::setUp

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Render/ElementInfoIntegrationTest.php \Drupal\KernelTests\Core\Render\ElementInfoIntegrationTest::setUp()
  2. 8.9.x core/tests/Drupal/KernelTests/Core/Render/ElementInfoIntegrationTest.php \Drupal\KernelTests\Core\Render\ElementInfoIntegrationTest::setUp()
  3. 11.x core/tests/Drupal/KernelTests/Core/Render/ElementInfoIntegrationTest.php \Drupal\KernelTests\Core\Render\ElementInfoIntegrationTest::setUp()

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Render/ElementInfoIntegrationTest.php, line 19

Class

ElementInfoIntegrationTest
Tests the element info.

Namespace

Drupal\KernelTests\Core\Render

Code

protected function setUp() : void {
    parent::setUp();
    $this->container
        ->get('theme_installer')
        ->install([
        'test_theme',
        'starterkit_theme',
    ]);
}

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