I just want to point for those who use the hook _download_manager_process() in their module that it was removed in version 2.1 (and dev 2012-Sep-17). And is not available anymore in the API.

In case you want to use it again, you have to modify the file ./filebrowser/includes/downloads.inc in line 81:

  //$result = _filebrowser_file_download($target, $decoded_file);
  $result = module_invoke_all('filebrowser_file_download', $target, $decoded_file);

And in line 96, rename the function to be able to hook it:

function filebrowser_filebrowser_file_download($file, $filename) {

After that, you can implement the hook in your own module:

function my_module_filebrowser_file_download($path, $filename) { ... }

Comments

Nicolas Georget’s picture

Issue summary: View changes

sorry, wrong spelling

clivesj’s picture

Issue summary: View changes
Status: Active » Closed (outdated)