function StableTemplateOverrideTest::setUp

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Theme/StableTemplateOverrideTest.php \Drupal\KernelTests\Core\Theme\StableTemplateOverrideTest::setUp()

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Theme/StableTemplateOverrideTest.php, line 46

Class

StableTemplateOverrideTest
Tests Stable's template overrides.

Namespace

Drupal\KernelTests\Core\Theme

Code

protected function setUp() {
    parent::setUp();
    $this->themeHandler = $this->container
        ->get('theme_handler');
    $this->container
        ->get('theme_installer')
        ->install([
        'stable',
    ]);
    $this->installAllModules();
}

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