TwigSandboxPolicy::$whitelisted_methods
An array of whitelisted methods in the form of methodName => TRUE.
Type: array
File
-
core/
lib/ Drupal/ Core/ Template/ TwigSandboxPolicy.php, line 23
Class
- TwigSandboxPolicy
- Default sandbox policy for Twig templates.
Namespace
Drupal\Core\TemplateCode
protected $whitelisted_methods;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.