function notifications_permission in Notifications 7
Implementation of hook_permission()
File
- ./
notifications.module, line 629 - Notifications module
Code
function notifications_permission() {
return array(
'administer notifications' => array(
'title' => t('Administer notifications'),
'description' => t('Administer all notifications options.'),
),
'create subscriptions' => array(
'title' => t('Create subscriptions'),
'description' => t('Create own subscriptions.'),
),
'maintain own subscriptions' => array(
'title' => t('Maintain own subscriptions'),
'description' => t('Create, delete or edit own subscriptions.'),
),
'manage all subscriptions' => array(
'title' => t('Administer subscriptions'),
'description' => t('Administer other subscriptions for other users.'),
),
'skip notifications' => array(
'title' => t('Skip notifications'),
'description' => t('Make changes with an option to skip notifications when available.'),
),
);
}