Skip to content

Allow redirects set on Forms to persist.

Gabriel Carleton-Barnes requested to merge allow_redirects into 8.x-1.x

When loading a form via Drupal API tools, like custom routes, you are allowed to pass in "form state additions". One of these is the form destination as "redirect". Our existing form implementations all blow these away by setting the redirect on forms during the save operation. It's possible we should just be handling this differently, but this patch at least lets the API work as desired without impacting any other behaviors.

Merge request reports