function TwigRegistryLoaderTest::setUp
Same name 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()
- 11.x 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');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.