FrontMatterTest::$twig

Same name in other branches
  1. 10 core/tests/Drupal/KernelTests/Core/Theme/FrontMatterTest.php \Drupal\KernelTests\Core\Theme\FrontMatterTest::twig
  2. 11.x core/tests/Drupal/KernelTests/Core/Theme/FrontMatterTest.php \Drupal\KernelTests\Core\Theme\FrontMatterTest::twig

Twig service.

Type: \Drupal\Core\Template\TwigEnvironment

File

core/tests/Drupal/KernelTests/Core/Theme/FrontMatterTest.php, line 31

Class

FrontMatterTest
Tests Twig front matter support.

Namespace

Drupal\KernelTests\Core\Theme

Code

protected $twig;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.