You are here

protected property TwigSandboxPolicy::$whitelisted_prefixes in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Template/TwigSandboxPolicy.php \Drupal\Core\Template\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 32
Contains \Drupal\Core\Template\TwigSandboxPolicy.

Class

TwigSandboxPolicy
Default sandbox policy for Twig templates.

Namespace

Drupal\Core\Template

Code

protected $whitelisted_prefixes = NULL;