function flot_examples_help in Flot 8
Implements hook_help().
File
- flot_examples/
flot_examples.module, line 47 - A collection of module hooks for the flot_examples module.
Code
function flot_examples_help($route_name, RouteMatchInterface $route_match) {
switch ($route_name) {
// Main module help for the lab_system module.
case 'help.page.flot_examples':
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$options = [
':one' => Url::fromRoute('flot_examples.content')
->toString(),
];
$output .= t('<p>This module displays <a href=":one">example graphs</a> which use the Flot plugin</p>', $options);
return $output;
default:
}
}