protected function StableTemplateOverrideTest::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/KernelTests/Core/Theme/StableTemplateOverrideTest.php \Drupal\KernelTests\Core\Theme\StableTemplateOverrideTest::setUp()
- 9 core/tests/Drupal/KernelTests/Core/Theme/StableTemplateOverrideTest.php \Drupal\KernelTests\Core\Theme\StableTemplateOverrideTest::setUp()
File
- core/
tests/ Drupal/ KernelTests/ Core/ Theme/ StableTemplateOverrideTest.php, line 48
Class
- StableTemplateOverrideTest
- Tests Stable's template overrides.
Namespace
Drupal\KernelTests\Core\ThemeCode
protected function setUp() : void {
parent::setUp();
$this->themeHandler = $this->container
->get('theme_handler');
$this->container
->get('theme_installer')
->install([
'stable',
]);
$this
->installAllModules();
}