function menu_node_form_submit

6.x menu.module menu_node_form_submit($form, &$form_state)

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

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

File

drupal-6.x/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']);
}