Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. 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
Powered by Drupal