public function Twig_TokenParser_AutoEscape::decideBlockEnd

File

drupal/core/vendor/twig/twig/lib/Twig/TokenParser/AutoEscape.php, line 74

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');
}