You are here

function print_permission in Printer, email and PDF versions 7.2

Same name and namespace in other branches
  1. 7 print.module \print_permission()

Implements hook_permission().

File

./print.module, line 70
Displays Printer-friendly versions of Drupal pages.

Code

function print_permission() {
  return array(
    'administer print' => array(
      'title' => t('Administer the module'),
      'description' => t('Perform maintenance tasks for the print module.'),
    ),
    'access print' => array(
      'title' => t('Access the printer-friendly page'),
      'description' => t('View the printer-friendly pages and the links to them in the original pages.'),
    ),
  );
}