function shadowbox_menu in Shadowbox 6
Same name and namespace in other branches
- 5.2 shadowbox.module \shadowbox_menu()
- 5 shadowbox.module \shadowbox_menu()
- 6.4 shadowbox.module \shadowbox_menu()
- 6.2 shadowbox.module \shadowbox_menu()
- 6.3 shadowbox.module \shadowbox_menu()
- 7.4 shadowbox.module \shadowbox_menu()
- 7.3 shadowbox.module \shadowbox_menu()
Implementation of hook_menu().
File
- ./
shadowbox.module, line 44 - Shadowbox, a JavaScript media viewer application for displaying content in a modal dialog.
Code
function shadowbox_menu() {
$items = array();
$items['admin/settings/shadowbox'] = array(
'title' => 'Shadowbox',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'shadowbox_admin_settings',
),
'access callback' => 'user_access',
'access arguments' => array(
'administer shadowbox',
),
'description' => 'Configure the settings for Shadowbox',
'type' => MENU_NORMAL_ITEM,
);
return $items;
}