function printfriendly_menu in PrintFriendly & PDF 7.5
Same name and namespace in other branches
- 7 printfriendly.module \printfriendly_menu()
- 7.2 printfriendly.module \printfriendly_menu()
- 7.3 printfriendly.module \printfriendly_menu()
- 7.4 printfriendly.module \printfriendly_menu()
Implements hook_menu().
File
- ./
printfriendly.module, line 103 - Adds PrintFriendly button to chosen node types and provides a block.
Code
function printfriendly_menu() {
$items['admin/config/services/printfriendly'] = array(
'title' => 'PrintFriendly',
'description' => 'Provides the configuration options for how PrintFriendly operates on the site.',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'printfriendly_admin_settings',
),
'access arguments' => array(
'administer printfriendly',
),
'file' => 'printfriendly.admin.inc',
);
return $items;
}