function TwigTransTokenParser::getTag
Same name in other branches
- 9 core/lib/Drupal/Core/Template/TwigTransTokenParser.php \Drupal\Core\Template\TwigTransTokenParser::getTag()
- 8.9.x core/lib/Drupal/Core/Template/TwigTransTokenParser.php \Drupal\Core\Template\TwigTransTokenParser::getTag()
- 10 core/lib/Drupal/Core/Template/TwigTransTokenParser.php \Drupal\Core\Template\TwigTransTokenParser::getTag()
1 call to TwigTransTokenParser::getTag()
- TwigTransTokenParser::parse in core/
lib/ Drupal/ Core/ Template/ TwigTransTokenParser.php
File
-
core/
lib/ Drupal/ Core/ Template/ TwigTransTokenParser.php, line 81
Class
- TwigTransTokenParser
- A class that defines the Twig 'trans' token parser for Drupal.
Namespace
Drupal\Core\TemplateCode
public function getTag() {
return 'trans';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.