protected property TwigSandboxPolicy::$whitelisted_prefixes in Drupal 8
An array of whitelisted method prefixes -- any method starting with one of these prefixes will be allowed.
Type: array
File
- core/
lib/ Drupal/ Core/ Template/ TwigSandboxPolicy.php, line 31
Class
- TwigSandboxPolicy
- Default sandbox policy for Twig templates.
Namespace
Drupal\Core\TemplateCode
protected $whitelisted_prefixes;