function TwigNodeVisitor::enterNode
Same name in other branches
- 11.x core/lib/Drupal/Core/Template/TwigNodeVisitor.php \Drupal\Core\Template\TwigNodeVisitor::enterNode()
File
-
core/
lib/ Drupal/ Core/ Template/ TwigNodeVisitor.php, line 32
Class
- TwigNodeVisitor
- Provides a TwigNodeVisitor to change the generated parse-tree.
Namespace
Drupal\Core\TemplateCode
public function enterNode(Node $node, Environment $env) : Node {
return $node;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.