You are here

function charts_api_example_help in Charts 8.3

Same name and namespace in other branches
  1. 8.4 modules/charts_api_example/charts_api_example.module \charts_api_example_help()
  2. 5.0.x 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 14
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;
}