function jsonlog_help in JSONlog 8
Same name and namespace in other branches
- 8.2 jsonlog.module \jsonlog_help()
- 3.x jsonlog.module \jsonlog_help()
Implements hook_help().
Parameters
string $route_name:
RouteMatchInterface $route_match:
File
- ./
jsonlog.module, line 17 - Contains jsonlog.module.
Code
function jsonlog_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the jsonlog module.
case 'help.page.jsonlog':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('Logs all events picked up by Drupal\'s LoggerInterface to a JSON-formatted file.') . '</p>';
return $output;
default:
}
}