function charts_api_example_help in Charts 5.0.x
Same name and namespace in other branches
- 8.4 modules/charts_api_example/charts_api_example.module \charts_api_example_help()
- 8.3 modules/charts_api_example/charts_api_example.module \charts_api_example_help()
Implements hook_help().
File
- modules/
charts_api_example/ charts_api_example.module, line 13 - Charts API Example module.
Code
function charts_api_example_help($route_name, RouteMatchInterface $route_match) {
$output = '';
switch ($route_name) {
// Main module help for the charts_api_example module.
case 'help.page.charts_api_example':
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t('A simple example on how to interact with the Charts API') . '</p>';
break;
}
return $output;
}