You are here

function printfriendly_permission in PrintFriendly & PDF 7

Same name and namespace in other branches
  1. 7.5 printfriendly.module \printfriendly_permission()
  2. 7.2 printfriendly.module \printfriendly_permission()
  3. 7.3 printfriendly.module \printfriendly_permission()
  4. 7.4 printfriendly.module \printfriendly_permission()

Implements hook_permission().

File

./printfriendly.module, line 22
Adds PrintFriendly button to chosen node types and provides a block.

Code

function printfriendly_permission() {
  return array(
    'administer printfriendly' => array(
      'title' => t('Administer PrintFriendly'),
      'description' => t('Configure how PrintFriendly is used on the site.'),
    ),
    'access printfriendly' => array(
      'title' => t('Access PrintFriendly'),
      'description' => t('Users with this permission will be able to use and see PrintFriendly.'),
    ),
  );
}