class HelpTestTwigExtension
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
- 11.x 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
- class \Drupal\help_topics_twig_tester\HelpTestTwigExtension extends \Twig\Extension\AbstractExtension
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 10
Namespace
Drupal\help_topics_twig_testerView source
class HelpTestTwigExtension extends AbstractExtension {
/**
* {@inheritdoc}
*/
public function getNodeVisitors() {
return [
new HelpTestTwigNodeVisitor(),
];
}
}
Members
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.