You are here

public function Twig_TokenParser_Embed::decideBlockEnd in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/twig/twig/lib/Twig/TokenParser/Embed.php \Twig_TokenParser_Embed::decideBlockEnd()

File

vendor/twig/twig/lib/Twig/TokenParser/Embed.php, line 45

Class

Twig_TokenParser_Embed
Embeds a template.

Code

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