class HelpTestTwigExtension

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
  2. 10 core/modules/help/tests/modules/help_topics_twig_tester/src/HelpTestTwigExtension.php \Drupal\help_topics_twig_tester\HelpTestTwigExtension

Defines and registers Drupal Twig extensions for testing help topics.

Hierarchy

Expanded class hierarchy of HelpTestTwigExtension

1 string reference to 'HelpTestTwigExtension'
help_topics_twig_tester.services.yml in core/modules/help/tests/modules/help_topics_twig_tester/help_topics_twig_tester.services.yml
core/modules/help/tests/modules/help_topics_twig_tester/help_topics_twig_tester.services.yml
1 service uses HelpTestTwigExtension
help_test_twig.extension in core/modules/help/tests/modules/help_topics_twig_tester/help_topics_twig_tester.services.yml
Drupal\help_topics_twig_tester\HelpTestTwigExtension

File

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

Namespace

Drupal\help_topics_twig_tester
View source
class HelpTestTwigExtension extends AbstractExtension {
    
    /**
     * {@inheritdoc}
     */
    public function getNodeVisitors() {
        return [
            new HelpTestTwigNodeVisitor(),
        ];
    }

}

Members

Title Sort descending Modifiers Object type Summary
HelpTestTwigExtension::getNodeVisitors public function

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