protected property TwigSandboxPolicy::$whitelisted_classes in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Template/TwigSandboxPolicy.php \Drupal\Core\Template\TwigSandboxPolicy::whitelisted_classes
An array of class names for which any method calls are allowed.
File
- core/
lib/ Drupal/ Core/ Template/ TwigSandboxPolicy.php, line 37 - Contains \Drupal\Core\Template\TwigSandboxPolicy.
Class
- TwigSandboxPolicy
- Default sandbox policy for Twig templates.
Namespace
Drupal\Core\TemplateCode
protected $whitelisted_classes = NULL;