function Stable9TemplateOverrideTest::setUp

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

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Theme/Stable9TemplateOverrideTest.php, line 55

Class

Stable9TemplateOverrideTest
Tests Stable 9's template overrides.

Namespace

Drupal\KernelTests\Core\Theme

Code

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

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