function TwigNodeVisitor::doEnterNode

Same name in other branches
  1. 9 core/lib/Drupal/Core/Template/TwigNodeVisitor.php \Drupal\Core\Template\TwigNodeVisitor::doEnterNode()

File

core/lib/Drupal/Core/Template/TwigNodeVisitor.php, line 19

Class

TwigNodeVisitor
Provides a Twig_NodeVisitor to change the generated parse-tree.

Namespace

Drupal\Core\Template

Code

protected function doEnterNode(\Twig_Node $node, \Twig_Environment $env) {
    return $node;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.