public TwigExtension::getTokenParsers()
File
- core/lib/Drupal/Core/Template/TwigExtension.php, line 190
Class
- TwigExtension
- A class providing Drupal Twig extensions.
Namespace
Drupal\Core\Template
Code
public function getTokenParsers() { return array( new TwigTransTokenParser(), ); }
Please login to continue.