function xmlsitemap_form_alter in XML sitemap 6
Same name and namespace in other branches
- 8 xmlsitemap.module \xmlsitemap_form_alter()
- 2.x xmlsitemap.module \xmlsitemap_form_alter()
Implementation of hook_form_alter().
File
- ./
xmlsitemap.module, line 69 - Creates a sitemap compatible with the sitemaps.org schema.
Code
function xmlsitemap_form_alter(&$form, &$form_state, $form_id) {
switch ($form_id) {
case 'locale_languages_configure_form':
case 'path_admin_form':
case 'pathauto_admin_settings':
case 'system_clean_url_settings':
$form['#submit'][] = 'xmlsitemap_settings_submit';
break;
}
}