function HelpTestTwigExtension::getNodeVisitors
Same name in other branches
- 9 core/modules/help_topics/tests/modules/help_topics_twig_tester/src/HelpTestTwigExtension.php \Drupal\help_topics_twig_tester\HelpTestTwigExtension::getNodeVisitors()
- 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_testerCode
public function getNodeVisitors() {
return [
new HelpTestTwigNodeVisitor(),
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.