You are here

function subscriptions_perm in Subscriptions 6

Same name and namespace in other branches
  1. 5.2 subscriptions.module \subscriptions_perm()
  2. 5 subscriptions.module \subscriptions_perm()

Implementation of hook_perm().

File

./subscriptions.module, line 220
Subscriptions module.

Code

function subscriptions_perm() {
  return array_merge(array(
    'administer user subscriptions',
    'bulk-administer user subscriptions',
    'subscribe to all content types',
    'suspend own subscriptions',
  ), subscriptions_types('access'));
  t('administer user subscriptions');
  t('bulk-administer user subscriptions');
  t('subscribe to all content types');
  t('suspend own subscriptions');
}