hook_event_dispatcher.module in Hook Event Dispatcher 8.2
Same filename and directory in other branches
Hook event dispatcher module.
File
hook_event_dispatcher.moduleView source
<?php
/**
* @file
* Hook event dispatcher module.
*/
/**
* Implements hook_help().
*
* {@inheritdoc}
*/
function hook_event_dispatcher_help(string $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 '';
}
Functions
Name | Description |
---|---|
hook_event_dispatcher_help | Implements hook_help(). |