TwigWhiteListTest::$twig
Same name in other branches
- 9 core/tests/Drupal/KernelTests/Core/Theme/TwigWhiteListTest.php \Drupal\KernelTests\Core\Theme\TwigWhiteListTest::twig
- 8.9.x core/tests/Drupal/KernelTests/Core/Theme/TwigWhiteListTest.php \Drupal\KernelTests\Core\Theme\TwigWhiteListTest::twig
- 11.x 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\ThemeCode
protected $twig;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.