TwigEnvironment::$templateClasses

Same name in other branches
  1. 9 core/lib/Drupal/Core/Template/TwigEnvironment.php \Drupal\Core\Template\TwigEnvironment::templateClasses
  2. 8.9.x core/lib/Drupal/Core/Template/TwigEnvironment.php \Drupal\Core\Template\TwigEnvironment::templateClasses
  3. 10 core/lib/Drupal/Core/Template/TwigEnvironment.php \Drupal\Core\Template\TwigEnvironment::templateClasses

Static cache of template classes.

Type: array

File

core/lib/Drupal/Core/Template/TwigEnvironment.php, line 43

Class

TwigEnvironment
A class that defines a Twig environment for Drupal.

Namespace

Drupal\Core\Template

Code

protected $templateClasses;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.