You are here

public function Twig_TokenParser_Spaceless::getTag in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/TokenParser/Spaceless.php \Twig_TokenParser_Spaceless::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_Spaceless::getTag()
Twig_TokenParser_Spaceless::parse in vendor/Twig/TokenParser/Spaceless.php
Parses a token and returns a node.

File

vendor/Twig/TokenParser/Spaceless.php, line 55

Class

Twig_TokenParser_Spaceless
Remove whitespaces between HTML tags.

Code

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