You are here

function xmlsitemap_form_language_admin_overview_form_alter in XML sitemap 2.x

Same name and namespace in other branches
  1. 8 xmlsitemap.module \xmlsitemap_form_language_admin_overview_form_alter()

Implements hook_form_FORM_ID_alter().

Set the regeneration needed flag if settings are changed.

File

./xmlsitemap.module, line 1758
xmlsitemap XML sitemap

Code

function xmlsitemap_form_language_admin_overview_form_alter(&$form, FormStateInterface $form_state) {
  array_unshift($form['#submit'], 'xmlsitemap_form_submit_flag_regenerate');
}