An array of whitelisted methods in the form of methodName => TRUE. File core/lib/Drupal/Core/Temp
An array of class names for which any method calls are allowed. File core/lib/Drupal/Core/Template/TwigSandboxPolicy
public TwigSandboxPolicy::checkMethodAllowed($obj, $method)
Default sandbox policy for Twig templates. Twig's sandbox extension is usually used to evaluate untrusted code by limiting access to potentially
public TwigSandboxPolicy::checkPropertyAllowed($obj, $property)
public TwigSandboxPolicy::checkSecurity($tags, $filters, $f
An array of whitelisted method prefixes -- any method starting with one of these prefixes will be allowed. File
public TwigSandboxPolicy::__construct()