TwigTransTokenParser::decideForEnd

public TwigTransTokenParser::decideForEnd($token)

Detect the end of a 'trans' tag.

File

core/lib/Drupal/Core/Template/TwigTransTokenParser.php, line 65

Class

TwigTransTokenParser
A class that defines the Twig 'trans' token parser for Drupal.

Namespace

Drupal\Core\Template

Code

public function decideForEnd($token) {
  return $token->test('endtrans');
}
doc_Drupal
2016-10-29 09:49:49
Comments
Leave a Comment

Please login to continue.