You are here

function leaflet_geojson_help in Leaflet GeoJSON 8

Implements hook_help().

File

./leaflet_geojson.module, line 141
API Extension for using Leaflet with GeoJSON.

Code

function leaflet_geojson_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.leaflet_geojson':
      $text = file_get_contents(__DIR__ . '/README.txt');
      return $text;
  }
  return NULL;
}