TwigSandboxPolicy::$whitelisted_classes
An array of class names for which any method calls are allowed.
Type: array
File
-
core/
lib/ Drupal/ Core/ Template/ TwigSandboxPolicy.php, line 38
Class
- TwigSandboxPolicy
- Default sandbox policy for Twig templates.
Namespace
Drupal\Core\TemplateCode
protected $whitelisted_classes;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.