function overlay_menu

Implements hook_menu()

File

drupal/core/modules/overlay/overlay.module, line 27
Displays the Drupal administration interface in an overlay.

Code

function overlay_menu() {
  $items['overlay-ajax/%'] = array(
    'title' => '',
    'page callback' => 'overlay_ajax_render_region',
    'page arguments' => array(
      1,
    ),
    'access arguments' => array(
      'access overlay',
    ),
    'type' => MENU_CALLBACK,
  );
  $items['overlay/dismiss-message'] = array(
    'title' => '',
    'page callback' => 'overlay_user_dismiss_message',
    'access callback' => 'overlay_user_dismiss_message_access',
    'type' => MENU_CALLBACK,
  );
  return $items;
}