function ultimate_cron_help in Ultimate Cron 8.2
Same name and namespace in other branches
- 8 ultimate_cron.module \ultimate_cron_help()
- 6 ultimate_cron.module \ultimate_cron_help()
- 7.2 ultimate_cron.module \ultimate_cron_help()
- 7 ultimate_cron.module \ultimate_cron_help()
Implements hook_help().
File
- ./
ultimate_cron.module, line 162 - Ultimate Cron. Extend cron functionality in Drupal.
Code
function ultimate_cron_help($route_name, \Drupal\Core\Routing\RouteMatchInterface $route_match) {
switch ($route_name) {
case 'help.page.ultimate_cron':
// Return a line-break version of the module README.
return '<pre>' . file_get_contents(dirname(__FILE__) . '/README.txt') . '</pre>';
}
}