You are here

function route_planner_menu in Route Planner 7

Same name and namespace in other branches
  1. 6 route_planner.module \route_planner_menu()

Implements hook_menu().

File

./route_planner.module, line 11
The Route Planner module create blocks to show a route from any address to a fixed point.

Code

function route_planner_menu() {
  $items = array();

  // Module settings.
  $items['admin/config/content/routeplanner'] = array(
    'title' => 'Route planner settings',
    'description' => 'Route planner settings',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'route_planner_settings_form',
    ),
    'access arguments' => array(
      'access administration pages',
    ),
    'file' => 'route_planner.admin.inc',
    'file path' => drupal_get_path('module', 'route_planner'),
  );
  return $items;
}