function hook_event_dispatcher_help in Hook Event Dispatcher 8
Same name and namespace in other branches
- 8.2 hook_event_dispatcher.module \hook_event_dispatcher_help()
- 3.x hook_event_dispatcher.module \hook_event_dispatcher_help()
Implements hook_help().
File
- ./
hook_event_dispatcher.module, line 91 - Hook event dispatcher module.
Code
function hook_event_dispatcher_help($routeName) {
if ($routeName === 'help.page.hook_event_dispatcher') {
$path = \drupal_get_path('module', 'hook_event_dispatcher');
$output = \file_get_contents($path . '/README.md');
return '<pre>' . $output . '</pre>';
}
return '';
}