function filebrowser_menu in Filebrowser 7.4
Same name and namespace in other branches
- 8 filebrowser.module \filebrowser_menu()
- 5 filebrowser.module \filebrowser_menu()
- 6.2 filebrowser.module \filebrowser_menu()
- 6 filebrowser.module \filebrowser_menu()
- 7.2 filebrowser.module \filebrowser_menu()
- 7.3 filebrowser.module \filebrowser_menu()
File
- ./
filebrowser.module, line 405
Code
function filebrowser_menu() {
$items = array();
$items['filebrowser/download/%'] = array(
'page callback' => 'filebrowser_page_download',
'file' => 'filebrowser.pages.inc',
'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/rename/%'] = array(
'page callback' => 'filebrowser_page_rename',
'file' => 'filebrowser.pages.inc',
'page arguments' => array(
2,
),
'type' => MENU_CALLBACK,
'access arguments' => array(
FILEBROWSER_RENAME_FILE,
),
);
$items['filebrowser/metadata/%'] = array(
'page callback' => 'drupal_get_form',
'page arguments' => array(
'filebrowser_form_metadata',
2,
),
'access callback' => '_filebrowser_metadata_access',
'access arguments' => array(
2,
),
'file' => 'filebrowser.pages.inc',
'type' => MENU_CALLBACK,
);
$items['filebrowser/thumbnails/%'] = array(
'page callback' => 'filebrowser_update_thumbnails',
'page arguments' => array(
2,
),
'access callback' => '_filebrowser_metadata_access',
'access arguments' => array(
2,
),
'file' => 'filebrowser.pages.inc',
'type' => MENU_CALLBACK,
);
return $items;
}