function HelpTestTwigExtension::getNodeVisitors

Same name in other branches
  1. 9 core/modules/help_topics/tests/modules/help_topics_twig_tester/src/HelpTestTwigExtension.php \Drupal\help_topics_twig_tester\HelpTestTwigExtension::getNodeVisitors()
  2. 10 core/modules/help/tests/modules/help_topics_twig_tester/src/HelpTestTwigExtension.php \Drupal\help_topics_twig_tester\HelpTestTwigExtension::getNodeVisitors()

File

core/modules/help/tests/modules/help_topics_twig_tester/src/HelpTestTwigExtension.php, line 17

Class

HelpTestTwigExtension
Defines and registers Drupal Twig extensions for testing help topics.

Namespace

Drupal\help_topics_twig_tester

Code

public function getNodeVisitors() {
    return [
        new HelpTestTwigNodeVisitor(),
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.