About 2 months back had to uninstall xmlsitemap and it is a large site with Cloudflare support (mostly) which timed out the uninstall process. The result was a half remove xmlsitemap module and have raised the issue there.
I have a problem that I do not know how to solve it.
I have made a form which is a 'get' form. I have put the good function to take care of the submit function ($form_state->setAlwaysProcess(TRUE);). I have made a redirection in the submitForm method but when I load the page where the form is, there is an infinite loop. I also test in the submitForm method when the get parameter 'op' (which is the name of the submit button) is empty to prevent an infinite loop.
I want to know how to make a redirection with a 'get' form.
From a view, through a button, I open a custom form, in a modal form. This module also has a submit to save the changes made.
After using the submit the form must close automatically and remain on the view.
I currently stay on the form