function HelpTopicsTestHooks::help
Implements hook_help().
File
-
core/
modules/ help/ tests/ modules/ help_topics_test/ src/ Hook/ HelpTopicsTestHooks.php, line 18
Class
- HelpTopicsTestHooks
- Hook implementations for help_topics_test.
Namespace
Drupal\help_topics_test\HookCode
public function help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.help_topics_test':
return 'Some kind of non-empty output for testing';
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.