TwigWhiteListTest::$twig

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Theme/TwigWhiteListTest.php \Drupal\KernelTests\Core\Theme\TwigWhiteListTest::twig
  2. 8.9.x core/tests/Drupal/KernelTests/Core/Theme/TwigWhiteListTest.php \Drupal\KernelTests\Core\Theme\TwigWhiteListTest::twig
  3. 10 core/tests/Drupal/KernelTests/Core/Theme/TwigWhiteListTest.php \Drupal\KernelTests\Core\Theme\TwigWhiteListTest::twig

Twig environment.

Type: \Drupal\Core\Template\TwigEnvironment

File

core/tests/Drupal/KernelTests/Core/Theme/TwigWhiteListTest.php, line 35

Class

TwigWhiteListTest
Tests white-listing of entity properties.

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.