function printfriendly_permission in PrintFriendly & PDF 7.4
Same name and namespace in other branches
- 7.5 printfriendly.module \printfriendly_permission()
- 7 printfriendly.module \printfriendly_permission()
- 7.2 printfriendly.module \printfriendly_permission()
- 7.3 printfriendly.module \printfriendly_permission()
Implements hook_permission().
File
- ./
printfriendly.module, line 78 - 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.'),
),
);
}