You are here

protected property TwigSandboxPolicy::$allowed_prefixes in Drupal 10

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Template/TwigSandboxPolicy.php \Drupal\Core\Template\TwigSandboxPolicy::allowed_prefixes

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

Type: array

File

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

Class

TwigSandboxPolicy
Default sandbox policy for Twig templates.

Namespace

Drupal\Core\Template

Code

protected $allowed_prefixes;