You are here

function bookblock_menu in Book Block 7

Same name and namespace in other branches
  1. 6 bookblock.module \bookblock_menu()

Implements hook_menu().

File

./bookblock.module, line 16
Enables users to add specific book navigation blocks on non-book pages.

Code

function bookblock_menu() {
  $items['admin/content/book/blocks'] = array(
    'title' => 'Book Blocks',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'bookblock_admin_settings',
    ),
    'access arguments' => array(
      'administer site configuration',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => 10,
    'file' => 'bookblock.admin.inc',
  );
  return $items;
}