function ComponentNodeVisitor::enterNode

File

core/lib/Drupal/Core/Template/ComponentNodeVisitor.php, line 36

Class

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

Namespace

Drupal\Core\Template

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.