You are here

function download_count_perm in Download Count 6

Same name and namespace in other branches
  1. 5 download_count.module \download_count_perm()
  2. 6.2 download_count.module \download_count_perm()

Implementation of hook_perm()

File

./download_count.module, line 17
Download counter

Code

function download_count_perm() {
  $perms = array();
  $perms[] = 'view all downloads count';
  $perms[] = 'view own nodes downloads count';
  $perms[] = 'view all downloads count in nodes';
  $perms[] = 'view own nodes downloads count in nodes';
  $perms[] = 'administer download counter';
  return $perms;
}