You are here

function filebrowser_filebrowser_download_manager_info in Filebrowser 6.2

Same name and namespace in other branches
  1. 8 filebrowser.module \filebrowser_filebrowser_download_manager_info()
  2. 7.4 filebrowser.module \filebrowser_filebrowser_download_manager_info()
  3. 7.2 filebrowser.module \filebrowser_filebrowser_download_manager_info()
  4. 7.3 filebrowser.module \filebrowser_filebrowser_download_manager_info()

hook_filebrowser_download_manager_info implementation.

File

./filebrowser.module, line 524

Code

function filebrowser_filebrowser_download_manager_info() {
  return array(
    'public' => array(
      'title' => t('Direct download (files are served by the web server and should be accessible by it)'),
      'url_callback' => 'filebrowser_public_download_url',
    ),
    'private' => array(
      'title' => t('Private download (files are served by PHP/Drupal an could be everywhere)'),
      'url_callback' => 'filebrowser_private_download_url',
    ),
  );
}