You are here

function print_permission in Printer, email and PDF versions 7

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

Implements hook_permission().

File

./print.module, line 89
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.'),
    ),
    'node-specific print configuration' => array(
      'title' => t('Node-specific configuration'),
      'description' => t('Enable access to the per-node settings.'),
    ),
    '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.'),
    ),
  );
}