function overlay_menu in Drupal 7
Implements hook_menu().
File
- modules/
overlay/ overlay.module, line 24 - 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 arguments' => array(
'access overlay',
),
'type' => MENU_CALLBACK,
);
return $items;
}