You are here

function geocoder_help in Geocoder 8.2

Same name and namespace in other branches
  1. 8.3 geocoder.module \geocoder_help()

Implements hook_help().

File

./geocoder.module, line 24
Geocoder Module.

Code

function geocoder_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {

    // Main module help for the geocoder module.
    case 'help.page.geocoder':
      $element = [
        '#theme' => 'geocoder_help',
      ];
      return \Drupal::service('renderer')
        ->render($element);
    default:
      return '';
  }
}