function HelpTestTwigNodeVisitor::enterNode

Same name in other branches
  1. 10 core/modules/help/tests/modules/help_topics_twig_tester/src/HelpTestTwigNodeVisitor.php \Drupal\help_topics_twig_tester\HelpTestTwigNodeVisitor::enterNode()

File

core/modules/help/tests/modules/help_topics_twig_tester/src/HelpTestTwigNodeVisitor.php, line 37

Class

HelpTestTwigNodeVisitor
Defines a Twig node visitor for testing help topics.

Namespace

Drupal\help_topics_twig_tester

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.