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. 10 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 17

Class

ElementInfoIntegrationTest
Tests the element info.

Namespace

Drupal\KernelTests\Core\Render

Code

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

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