Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
SandboxTokenParser.php
function SandboxTokenParser::decideBlockEnd
File
vendor/
twig/
twig/
src/
TokenParser/
SandboxTokenParser.php
, line 59
Class
SandboxTokenParser
Marks a section of a template as untrusted code that must be evaluated in the sandbox mode.
Namespace
Twig\TokenParser
Code
public
function
decideBlockEnd
(Token
$token
) : bool {
return
$token
->
test
(
'endsandbox'
); }
RSS feed