protected function TwigRegistryLoaderTest::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/tests/src/Functional/Theme/TwigRegistryLoaderTest.php \Drupal\Tests\system\Functional\Theme\TwigRegistryLoaderTest::setUp()
- 9 core/modules/system/tests/src/Functional/Theme/TwigRegistryLoaderTest.php \Drupal\Tests\system\Functional\Theme\TwigRegistryLoaderTest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
modules/ system/ tests/ src/ Functional/ Theme/ TwigRegistryLoaderTest.php, line 32
Class
- TwigRegistryLoaderTest
- Tests Twig registry loader.
Namespace
Drupal\Tests\system\Functional\ThemeCode
protected function setUp() : void {
parent::setUp();
\Drupal::service('theme_installer')
->install([
'test_theme_twig_registry_loader',
'test_theme_twig_registry_loader_theme',
'test_theme_twig_registry_loader_subtheme',
]);
$this->twig = \Drupal::service('twig');
}