You are here

function print_mail_permission in Printer, email and PDF versions 7.2

Same name and namespace in other branches
  1. 7 print_mail/print_mail.module \print_mail_permission()

Implements hook_permission().

File

print_mail/print_mail.module, line 36
Displays Printer-friendly versions of Drupal pages.

Code

function print_mail_permission() {
  return array(
    'access send by email' => array(
      'title' => t('Access the Send by email functionality'),
      'description' => t('Provides the ability to send pages by email and the links to them in the original pages.'),
    ),
    'send unlimited emails' => array(
      'title' => t('Send unlimited emails'),
      'description' => t("Overrides the built-in hourly threshold limits when sending emails. This permission should only be granted to trusted users, due to it's potential in enabling the use of your site as a source of email spam."),
    ),
  );
}