You are here

function leaflet_mapbox_menu in Leaflet MapBox 7

Implements hook_menu().

File

./leaflet_mapbox.module, line 10
"Leaflet Mapbox" adds integration for Leftlet module and Mapbox tiles.

Code

function leaflet_mapbox_menu() {
  $items = array();
  $items['admin/config/services/leaflet-mapbox'] = array(
    'title' => 'Leaflet Mapbox',
    'description' => 'Leaflet Mapbox configuration panel.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'leaflet_mapbox_configuration_form',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'file' => 'leaflet_mapbox.admin.inc',
  );
  return $items;
}