TwigSandboxPolicy::$whitelisted_prefixes

An array of whitelisted method prefixes -- any method starting with one of these prefixes will be allowed.

File

core/lib/Drupal/Core/Template/TwigSandboxPolicy.php, line 27

Class

TwigSandboxPolicy
Default sandbox policy for Twig templates.

Namespace

Drupal\Core\Template

Code

protected $whitelisted_prefixes = NULL;
doc_Drupal
2016-10-29 09:49:47
Comments
Leave a Comment

Please login to continue.