You are here

function privatemsg_perm in Privatemsg 6

Same name and namespace in other branches
  1. 5.3 privatemsg.module \privatemsg_perm()
  2. 5 privatemsg.module \privatemsg_perm()
  3. 6.2 privatemsg.module \privatemsg_perm()

Implements hook_perm().

File

./privatemsg.module, line 24
Allows users to send private messages to other users.

Code

function privatemsg_perm() {
  return array(
    'read privatemsg',
    'read all private messages',
    'administer privatemsg settings',
    'write privatemsg',
    'delete privatemsg',
  );
}