You are here

function filebrowser_menu in Filebrowser 8

Same name and namespace in other branches
  1. 5 filebrowser.module \filebrowser_menu()
  2. 6.2 filebrowser.module \filebrowser_menu()
  3. 6 filebrowser.module \filebrowser_menu()
  4. 7.4 filebrowser.module \filebrowser_menu()
  5. 7.2 filebrowser.module \filebrowser_menu()
  6. 7.3 filebrowser.module \filebrowser_menu()

File

./filebrowser.module, line 105
Validates file path input on node form

Code

function filebrowser_menu() {
  $items = array();
  $items['filebrowser/download/%fid'] = array(
    'title' => 'Filebrowser',
    'description' => "",
    'route_name' => 'filebrowser.download',
    'type' => MENU_CALLBACK,
  );
  $items['filebrowser/delete/%fid'] = array(
    'route_name' => 'filebrowser.delete',
    'type' => MENU_CALLBACK,
  );
  $items['filebrowser/metadata/%fid'] = array(
    'route_name' => 'filebrowser.metadata',
    'type' => MENU_CALLBACK,
  );
  $items['filebrowser/thumbnails/%fid'] = array(
    'route_name' => 'filebrowser.thumbnails',
    'type' => MENU_CALLBACK,
  );
  return $items;
}