You are here

public function Twig_TokenParser_Block::decideBlockEnd in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/Twig/TokenParser/Block.php \Twig_TokenParser_Block::decideBlockEnd()

File

vendor/twig/twig/lib/Twig/TokenParser/Block.php, line 60

Class

Twig_TokenParser_Block
Marks a section of a template as being reusable.

Code

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