Commit 363aec1f authored by Tolyan4ik's avatar Tolyan4ik Committed by pifagor

Issue #3096587 by Tolyan4ik, alex_optim, pifagor: Sitemap settings form redirect after submission

parent d4ab9c53
......@@ -134,6 +134,7 @@ class XmlSitemapLinkBundleSettingsForm extends ConfigFormBase {
// we don't want these values to get saved as configuration, depending on
// how the form saves the form values.
$form_state->unsetValue('xmlsitemap');
$form_state->setRedirect('xmlsitemap.admin_settings');
parent::submitForm($form, $form_state);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment