protected function TwigRegistryLoaderTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/system/tests/src/Functional/Theme/TwigRegistryLoaderTest.php \Drupal\Tests\system\Functional\Theme\TwigRegistryLoaderTest::setUp()
- 10 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() {
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');
}