function ComponentNodeVisitor::enterNode

Same name in this branch
  1. 10 core/lib/Drupal/Core/Template/ComponentNodeVisitor.php \Drupal\Core\Template\ComponentNodeVisitor::enterNode()
Same name in other branches
  1. 11.x core/modules/sdc/src/Twig/ComponentNodeVisitor.php \Drupal\sdc\Twig\ComponentNodeVisitor::enterNode()
  2. 11.x core/lib/Drupal/Core/Template/ComponentNodeVisitor.php \Drupal\Core\Template\ComponentNodeVisitor::enterNode()

File

core/modules/sdc/src/Twig/ComponentNodeVisitor.php, line 37

Class

ComponentNodeVisitor
Provides a ComponentNodeVisitor to change the generated parse-tree.

Namespace

Drupal\sdc\Twig

Code

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.