TwigEnvironment
class TwigEnvironment
A class that defines a Twig environment for Drupal.
Instances of this class are used to store the configuration and extensions, and are used to load templates from the file system or other locations.
Hierarchy
- class \Twig_Environment
- class \Drupal\Core\Template\TwigEnvironment
See also
core\vendor\twig\twig\lib\Twig\Environment.php
File
- core/lib/Drupal/Core/Template/登录查看完整内容