function download_count_perm in Download Count 6.2
Same name and namespace in other branches
- 5 download_count.module \download_count_perm()
- 6 download_count.module \download_count_perm()
Implementation of hook_perm().
File
- ./
download_count.module, line 21 - Tracks file downloads for files stored in the drupal files table using the private files setting or custom private filefield.
Code
function download_count_perm() {
$perms = array(
'view all download counts',
'view own download counts',
'export download counts',
);
return $perms;
}