You are here

function menu_node_form_submit in Drupal 6

Decompose the selected menu parent option into the menu_name and plid.

1 string reference to 'menu_node_form_submit'
menu_form_alter in modules/menu/menu.module
Implementation of hook_form_alter(). Adds menu item fields to the node form.

File

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

Code

function menu_node_form_submit($form, &$form_state) {
  list($form_state['values']['menu']['menu_name'], $form_state['values']['menu']['plid']) = explode(':', $form_state['values']['menu']['parent']);
}