protected TwigNodeVisitor::doEnterNode(\Twig_Node $node, \Twig_Environment $env)
Called before child nodes are visited.
Twig_Node $node The node to visit:
Twig_Environment $env The Twig environment instance:
Twig_Node The modified node
Overrides Twig_BaseNodeVisitor::doEnterNode
protected function doEnterNode(\Twig_Node $node, \Twig_Environment $env) { return $node; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Template!TwigNodeVisitor.php/function/TwigNodeVisitor::doEnterNode/8.1.x