You are here

protected property TwigSandboxPolicy::$allowed_methods in Drupal 9

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

An array of allowed methods in the form of methodName => TRUE.

Type: array

File

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

Class

TwigSandboxPolicy
Default sandbox policy for Twig templates.

Namespace

Drupal\Core\Template

Code

protected $allowed_methods;