protected function FrontMatterTest::setUp in Drupal 10
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/Core/Theme/FrontMatterTest.php \Drupal\KernelTests\Core\Theme\FrontMatterTest::setUp()
File
- core/
tests/ Drupal/ KernelTests/ Core/ Theme/ FrontMatterTest.php, line 37
Class
- FrontMatterTest
- Tests Twig front matter support.
Namespace
Drupal\KernelTests\Core\ThemeCode
protected function setUp() : void {
parent::setUp();
$this->twig = \Drupal::service('twig');
}