You are here

function xmlsitemap_menu_menu_edit_item_submit in XML sitemap 6.2

Form submit callback; update the sitemap link when a menu item is updated.

1 string reference to 'xmlsitemap_menu_menu_edit_item_submit'
xmlsitemap_menu_form_menu_edit_item_alter in xmlsitemap_menu/xmlsitemap_menu.module
Implements hook_form_FORM_ID_alter().

File

xmlsitemap_menu/xmlsitemap_menu.module, line 154

Code

function xmlsitemap_menu_menu_edit_item_submit($form, $form_state) {
  $mlids = array(
    $form_state['values']['menu']['mlid'],
  );
  xmlsitemap_menu_xmlsitemap_process_menu_links($mlids, $form_state['values']['xmlsitemap']);
}