menu_node_edit_menu_alter(&$items)Implements hook_menu_alter().
./menu_node_edit.module, line 76
<?php
function menu_node_edit_menu_alter(&$items) {
// We need to account for all parts of this item, in case
// other modules interfere. See http://drupal.org/node/469998.
// We only alter the access parts, however.
$items['node/%node/edit'] = array(
'title' => 'Edit',
'page callback' => 'node_page_edit',
'page arguments' => array(1),
'access callback' => 'menu_node_edit_check', // Our callback.
'access arguments' => array(1), // Our arguments.
'weight' => 1,
'file' => 'node.pages.inc',
'file path' => drupal_get_path('module', 'node'), // We need this!
'type' => MENU_LOCAL_TASK,
);
}
?>