public function TwigExtension::getTokenParsers in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Template/TwigExtension.php \Drupal\Core\Template\TwigExtension::getTokenParsers()
- 10 core/lib/Drupal/Core/Template/TwigExtension.php \Drupal\Core\Template\TwigExtension::getTokenParsers()
File
- core/
lib/ Drupal/ Core/ Template/ TwigExtension.php, line 205
Class
- TwigExtension
- A class providing Drupal Twig extensions.
Namespace
Drupal\Core\TemplateCode
public function getTokenParsers() {
return [
new TwigTransTokenParser(),
];
}