function book_made_simple_menu in Book made simple 6.3
Same name and namespace in other branches
- 7.3 book_made_simple.module \book_made_simple_menu()
Implementation of hook_menu().
File
- ./
book_made_simple.module, line 34
Code
function book_made_simple_menu() {
$items = array();
$items['admin/settings/book_made_simple'] = array(
'title' => t('BookMadeSimple settings'),
'page callback' => 'drupal_get_form',
'page arguments' => array(
'book_made_simple_settings_form',
),
'access arguments' => array(
'administer site configuration',
),
'description' => t('BookMadeSimple module settings.'),
'type' => MENU_NORMAL_ITEM,
);
$items['node/%node/reorder'] = array(
'title' => t('Reorder the book'),
'page callback' => 'book_made_simple_reorder',
'page arguments' => array(
1,
),
'access callback' => 'is_reorder_access',
'access arguments' => array(
1,
),
'type' => MENU_LOCAL_TASK,
'weight' => 2,
);
$items['node/%node/outline'] = array(
'title' => 'Outline',
'page callback' => 'book_outline',
'page arguments' => array(
1,
),
'access callback' => 'is_outline_access',
'access arguments' => array(
1,
),
'type' => MENU_LOCAL_TASK,
'weight' => 10,
'file' => 'book.pages.inc',
'file path' => drupal_get_path('module', 'book'),
);
return $items;
}