function filebrowser_menu in Filebrowser 6.2
Same name and namespace in other branches
- 8 filebrowser.module \filebrowser_menu()
- 5 filebrowser.module \filebrowser_menu()
- 6 filebrowser.module \filebrowser_menu()
- 7.4 filebrowser.module \filebrowser_menu()
- 7.2 filebrowser.module \filebrowser_menu()
- 7.3 filebrowser.module \filebrowser_menu()
Implementation of hook_menu().
File
- ./
filebrowser.module, line 270
Code
function filebrowser_menu() {
$items = array();
$items['admin/settings/filebrowser'] = array(
'title' => 'FileBrowser',
'description' => 'Settings for FileBrowser.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'filebrowser_admin_settings',
),
'file' => 'filebrowser.admin.inc',
'access arguments' => array(
'administer site configuration',
),
);
$items['filebrowser/download/%'] = array(
'page callback' => 'filebrowser_page_download',
'page arguments' => array(
2,
),
'type' => MENU_CALLBACK,
'access arguments' => array(
FILEBROWSER_DOWNLOAD,
),
);
$items['filebrowser/delete/%'] = array(
'page callback' => 'filebrowser_page_delete',
'file' => 'filebrowser.pages.inc',
'page arguments' => array(
2,
),
'type' => MENU_CALLBACK,
'access arguments' => array(
FILEBROWSER_DELETE_FILE,
),
);
$items['filebrowser/metadata/%'] = array(
'page callback' => 'drupal_get_form',
'page arguments' => array(
'filebrowser_form_metadata',
2,
),
'access arguments' => array(
FILEBROWSER_EDIT_META_DATA,
),
'file' => 'filebrowser.pages.inc',
'type' => MENU_CALLBACK,
);
$items['filebrowser/thumbnails/%'] = array(
'page callback' => 'filebrowser_update_thumbnails',
'page arguments' => array(
2,
),
'access arguments' => array(
FILEBROWSER_UPDATE_THUMBNAILS,
),
'file' => 'filebrowser.pages.inc',
'type' => MENU_CALLBACK,
);
return $items;
}