protected TwigNodeVisitor::doEnterNode(\Twig_Node $node, \Twig_Environment $env)
Called before child nodes are visited.
Parameters
Twig_Node $node The node to visit:
Twig_Environment $env The Twig environment instance:
Return value
Twig_Node The modified node
Overrides Twig_BaseNodeVisitor::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; }
Please login to continue.