function privatemsg_roles_permission in Privatemsg 7
Same name and namespace in other branches
- 7.2 privatemsg_roles/privatemsg_roles.module \privatemsg_roles_permission()
Implements hook_perm().
File
- privatemsg_roles/
privatemsg_roles.module, line 11 - Allows to send messages to all members of a role.
Code
function privatemsg_roles_permission() {
return array(
'write privatemsg to roles' => array(
'title' => t('Write private message to roles'),
'description' => t('Allows to write messages to all users which belong to a specific role.'),
),
'view roles recipients' => array(
'title' => t('View roles recipients'),
'description' => t('Ability to view roles recipients and the name of these roles.'),
),
);
}