TwigSandboxPolicy::$whitelisted_classes

An array of class names for which any method calls are allowed.

File

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

Class

TwigSandboxPolicy
Default sandbox policy for Twig templates.

Namespace

Drupal\Core\Template

Code

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

Please login to continue.