function BaseThemeRequiredTest::setUp

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

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Theme/BaseThemeRequiredTest.php, line 38

Class

BaseThemeRequiredTest
Tests the behavior of the `base theme` key.

Namespace

Drupal\KernelTests\Core\Theme

Code

protected function setUp() : void {
    parent::setUp();
    $this->themeInstaller = $this->container
        ->get('theme_installer');
    $this->themeManager = $this->container
        ->get('theme.manager');
}

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