You are here

function xmlsitemap_form_language_admin_overview_form_alter in XML sitemap 8

Same name and namespace in other branches
  1. 2.x 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 1798
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');
}