You are here

public function Twig_TokenParser_Spaceless::decideSpacelessEnd in Translation template extractor 7.3

Same name and namespace in other branches
  1. 6.3 vendor/Twig/TokenParser/Spaceless.php \Twig_TokenParser_Spaceless::decideSpacelessEnd()

File

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

Class

Twig_TokenParser_Spaceless
Remove whitespaces between HTML tags.

Code

public function decideSpacelessEnd(Twig_Token $token) {
  return $token
    ->test('endspaceless');
}