HelpTestTwigExtension.php
Same filename in other branches
Namespace
Drupal\help_topics_twig_testerFile
-
core/
modules/ help/ tests/ modules/ help_topics_twig_tester/ src/ HelpTestTwigExtension.php
View source
<?php
declare (strict_types=1);
namespace Drupal\help_topics_twig_tester;
use Twig\Extension\AbstractExtension;
/**
* Defines and registers Drupal Twig extensions for testing help topics.
*/
class HelpTestTwigExtension extends AbstractExtension {
/**
* {@inheritdoc}
*/
public function getNodeVisitors() {
return [
new HelpTestTwigNodeVisitor(),
];
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
HelpTestTwigExtension | Defines and registers Drupal Twig extensions for testing help topics. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.