function pm_email_notify_permission in Privatemsg 7.2
Implements hook_perm().
File
- pm_email_notify/
pm_email_notify.module, line 38 - Notifies users about new Private Messages via Email.
Code
function pm_email_notify_permission() {
return array(
'set privatemsg e-mail notification level' => array(
'title' => t('Set Privatemsg E-Mail notification level'),
'description' => t('Users with this permission may override the default e-mail notification level. Even without this permission, they can still opt-out (but not opt-in if disabled by default) of email notifications.'),
),
'change privatemsg e-mail notification for indirect messages' => array(
'title' => t('Change privatemsg e-mail notification for indirect messages'),
'description' => t('Users with this permission may override the default setting.'),
),
'reveal e-mail address when sending messages' => array(
'title' => t('Allow opt-in to reveal e-mail address when sending messages'),
'description' => t('Users with this permission may opt-in to reveal their e-mail addresses when sending messages.'),
),
);
}