You are here

function print_pdf_permission in Printer, email and PDF versions 7

Same name and namespace in other branches
  1. 7.2 print_pdf/print_pdf.module \print_pdf_permission()

Implements hook_permission().

File

print_pdf/print_pdf.module, line 45
Displays Printer-friendly versions of Drupal pages.

Code

function print_pdf_permission() {
  return array(
    'access PDF version' => array(
      'title' => t('Access the PDF version'),
      'description' => t('View the PDF versions and the links to them in the original pages.'),
    ),
  );
}