You are here

function filebrowser_private_download_url in Filebrowser 6.2

Same name in this branch
  1. 6.2 filebrowser.api.php \filebrowser_private_download_url()
  2. 6.2 includes/downloads.inc \filebrowser_private_download_url()
2 string references to 'filebrowser_private_download_url'
filebrowser_filebrowser_download_manager_info in ./filebrowser.module
hook_filebrowser_download_manager_info implementation.
hook_filebrowser_download_manager_info in ./filebrowser.api.php
hook_filebrowser_download_manager_info implementation.

File

./filebrowser.api.php, line 173
hook_filebrowser_metadata_get implementation. the filebrowser file object to extract metadata from

Code

function filebrowser_private_download_url($node, $record) {
  return url('filebrowser/download/' . $record['fid'], array(
    'absolute' => TRUE,
  ));
}