Problem/Motivation
A form state object allows to set a redirect destination URL. It would be great being able to set the redirect URL on the form state.
There is already a core action to execute a redirect, but that action is not working with the form state and may not be suitable when the behavior of form submission is required, for example in #3306012: Redirect on login with condition to exclude “?destination=” paths?.
Steps to reproduce
Proposed resolution
Add a new action that allows to set the redirect of a form state.
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork eca-3306244
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
mxhComment #4
jurgenhaasComment #5
mxhComment #7
jurgenhaas