You are here

function overlay_paths_ui_menu in Overlay Paths 7

Implements hook_menu().

File

overlay_paths_ui/overlay_paths_ui.module, line 10
The overlay paths ui module.

Code

function overlay_paths_ui_menu() {
  $items = array();
  $items['admin/config/system/overlay_paths_ui'] = array(
    'title' => 'Overlay paths',
    'description' => 'Allows you to specify paths that should use the overlay without using the admin theme.',
    'type' => MENU_NORMAL_ITEM,
    'access arguments' => array(
      'administer site configuration',
    ),
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'overlay_paths_admin_form',
    ),
    'file' => 'overlay_paths_ui.admin.inc',
  );
  return $items;
}