You are here

function views_send_perm in Views Send 6

Implementation of hook_perm().

See also

http://api.drupal.org/api/function/hook_perm/6

File

./views_send.module, line 421
The Views Send module.

Code

function views_send_perm() {
  $perms = array(
    'administer views_send',
    'mass mailing with views_send',
  );
  if (VIEWS_SEND_MIMEMAIL) {
    $perms[] = 'allow attachments with views_send';
  }
  return $perms;
}