public TwigExtension::getNodeVisitors()
File
- core/lib/Drupal/Core/Template/TwigExtension.php, line 179
Class
- TwigExtension
- A class providing Drupal Twig extensions.
Namespace
Drupal\Core\Template
Code
public function getNodeVisitors() { // The node visitor is needed to wrap all variables with // render_var -> TwigExtension->renderVar() function. return array( new TwigNodeVisitor(), ); }
Please login to continue.