You are here

function menu_node_form_delete in Drupal 5

Same name and namespace in other branches
  1. 4 modules/menu.module \menu_node_form_delete()

Remove the menu item.

1 call to menu_node_form_delete()
menu_nodeapi in modules/menu/menu.module
Implementation of hook_nodeapi().

File

modules/menu/menu.module, line 779
Allows administrators to customize the site navigation menu.

Code

function menu_node_form_delete($node) {
  menu_delete_item(array(
    'path' => 'node/' . $node->nid,
  ));
}