You are here

public function Twig_TokenParser_AutoEscape::decideBlockEnd in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/TokenParser/AutoEscape.php \Twig_TokenParser_AutoEscape::decideBlockEnd()

File

vendor/Twig/TokenParser/AutoEscape.php, line 75

Class

Twig_TokenParser_AutoEscape
Marks a section of a template to be escaped or not.

Code

public function decideBlockEnd(Twig_Token $token) {
  return $token
    ->test('endautoescape');
}