function i18n_menu_edit_item_form_submit in Internationalization 5.2
Same name and namespace in other branches
- 5.3 i18n.module \i18n_menu_edit_item_form_submit()
- 5 i18n.module \i18n_menu_edit_item_form_submit()
- 6 i18n.module \i18n_menu_edit_item_form_submit()
Process menu and menu item add/edit form submissions.
File
- ./
i18n.module, line 946 - Internationalization (i18n) module
Code
function i18n_menu_edit_item_form_submit($form_id, $form_values) {
$mid = menu_edit_item_save($form_values);
db_query("UPDATE {menu} SET language = '%s' WHERE mid = %d", $form_values['language'], $mid);
return 'admin/build/menu';
}