You are here

function download_count_permission in Download Count 7.2

Same name and namespace in other branches
  1. 7.3 download_count.module \download_count_permission()

Implements hook_permission().

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_permission() {
  $perms = array(
    'view all download counts' => array(
      'title' => t('view all download counts'),
      'description' => t('TODO Add a description for \'view all download counts\''),
    ),
    'view own download counts' => array(
      'title' => t('view own download counts'),
      'description' => t('TODO Add a description for \'view own download counts\''),
    ),
  );
  return $perms;
}