You are here

function printfriendly_menu in PrintFriendly & PDF 7

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

Implements hook_menu().

File

./printfriendly.module, line 38
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;
}