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

1
protected $whitelisted_prefixes = NULL;
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.