function _filebrowser_can_download_archive in Filebrowser 8
Same name and namespace in other branches
- 6.2 includes/node.inc \_filebrowser_can_download_archive()
- 7.4 filebrowser.common.inc \_filebrowser_can_download_archive()
- 7.2 filebrowser.common.inc \_filebrowser_can_download_archive()
- 7.3 filebrowser.common.inc \_filebrowser_can_download_archive()
Check if user can download ZIP archives.
1 call to _filebrowser_can_download_archive()
- filebrowser_filebrowser_actions_info in ./
filebrowser.module - hook_filebrowser_actions_info implementation
File
- ./
filebrowser.common.inc, line 566 - Misc filebrowser common functions.
Code
function _filebrowser_can_download_archive(&$node) {
return node_access('view', $node) && $node->folder_rights->download_archive && user_access(FILEBROWSER_DOWNLOAD_ARCHIVE);
}