TwigEnvironment::$state
Same name in other branches
- 9 core/lib/Drupal/Core/Template/TwigEnvironment.php \Drupal\Core\Template\TwigEnvironment::state
- 10 core/lib/Drupal/Core/Template/TwigEnvironment.php \Drupal\Core\Template\TwigEnvironment::state
- 11.x core/lib/Drupal/Core/Template/TwigEnvironment.php \Drupal\Core\Template\TwigEnvironment::state
The state service.
Type: \Drupal\Core\State\StateInterface
File
-
core/
lib/ Drupal/ Core/ Template/ TwigEnvironment.php, line 30
Class
- TwigEnvironment
- A class that defines a Twig environment for Drupal.
Namespace
Drupal\Core\TemplateCode
protected $state;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.