menu_node_form_submit

Versions
6 – 7
menu_node_form_submit($form, &$form_state)

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

Code

modules/menu/menu.module, line 427

<?php
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']);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.