function TestProfilerExtension::getNodeVisitors
Same name in this branch
- 11.x core/modules/system/tests/modules/sdc_other_node_visitor/src/Twig/Extension/TestProfilerExtension.php \Drupal\sdc_other_node_visitor\Twig\Extension\TestProfilerExtension::getNodeVisitors()
Same name in other branches
- 10 core/modules/sdc/tests/modules/sdc_other_node_visitor/src/Twig/Extension/TestProfilerExtension.php \Drupal\sdc_other_node_visitor\Twig\Extension\TestProfilerExtension::getNodeVisitors()
- 10 core/modules/system/tests/modules/sdc_other_node_visitor/src/Twig/Extension/TestProfilerExtension.php \Drupal\sdc_other_node_visitor\Twig\Extension\TestProfilerExtension::getNodeVisitors()
File
-
core/
modules/ sdc/ tests/ modules/ sdc_other_node_visitor/ src/ Twig/ Extension/ TestProfilerExtension.php, line 16
Class
- TestProfilerExtension
- Twig extension to add a test node visitor.
Namespace
Drupal\sdc_other_node_visitor\Twig\ExtensionCode
public function getNodeVisitors() : array {
return [
new TestNodeVisitor(static::class),
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.