You are here

public function Twig_TokenParser_Filter::decideBlockEnd in Zircon Profile 8

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

File

vendor/twig/twig/lib/Twig/TokenParser/Filter.php, line 40

Class

Twig_TokenParser_Filter
Filters a section of a template by applying filters.

Code

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