You are here

function download_count_perm in Download Count 5

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

Implementation of hook_perm()

File

./download_count.module, line 18
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';
  return $perms;
}