class TwigFactory

A class for constructing Twig_Environment objects.

This is used for constructing and configuring a system wide Twig_Environment object that is integrated with the Drupal Injection Container.

Hierarchy

Expanded class hierarchy of TwigFactory

See also

\Drupal\Core\CoreBundle

File

drupal/core/lib/Drupal/Core/Template/TwigFactory.php, line 23
Definition of Drupal\Core\Template\TwigFactory.

Namespace

Drupal\Core\Template
View source

Members

Namesort descending Modifiers Type Description Overrides
TwigFactory::get public static function Returns a fully initialized Twig_Environment object.