You are here

public function Twig_TokenParser_For::getTag in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/Twig/TokenParser/For.php \Twig_TokenParser_For::getTag()

Gets the tag name associated with this token parser.

Return value

string The tag name

Overrides Twig_TokenParserInterface::getTag

1 call to Twig_TokenParser_For::getTag()
Twig_TokenParser_For::parse in vendor/twig/twig/lib/Twig/TokenParser/For.php
Parses a token and returns a node.

File

vendor/twig/twig/lib/Twig/TokenParser/For.php, line 119

Class

Twig_TokenParser_For
Loops over each item of a sequence.

Code

public function getTag() {
  return 'for';
}