menu_node_edit_menu()Implements hook_menu().
./menu_node_edit.module, line 11
<?php
function menu_node_edit_menu() {
$items = array();
$items['admin/content/menu_node_edit'] = array(
'title' => 'Menu node edit',
'description' => "Configure settings for menu-based editorial access.",
'page callback' => 'drupal_get_form',
'page arguments' => array('menu_node_edit_settings_form'),
'access arguments' => array('administer menu node edit'),
'file' => 'menu_node_edit.admin.inc',
);
$items['user/%user/sections'] = array(
'title' => check_plain(menu_node_edit_variable('tab_title')),
'description' => "Display all section pages editable by this user.",
'page callback' => 'menu_node_edit_page',
'page arguments' => array(1),
'access callback' => 'menu_node_edit_user_page_access',
'access arguments' => array(1),
'file' => 'menu_node_edit.page.inc',
'type' => MENU_LOCAL_TASK,
);
$items['user/%user/sections/%'] = array(
'title' => check_plain(menu_node_edit_variable('tab_title')),
'description' => "Display specific section pages editable by this user.",
'page callback' => 'menu_node_edit_page',
'page arguments' => array(1, 3),
'access callback' => 'menu_node_edit_user_page_access',
'access arguments' => array(1),
'file' => 'menu_node_edit.page.inc',
'type' => MENU_LOCAL_TASK,
);
return $items;
}
?>