How set a custom redirect confirmation path to webform programmatically

by Mauricio   Last Updated August 13, 2019 14:07 PM

i'm trying to set a custom URL to redirect when the process of webform submit is completed without use the confirmation settings of webform. I Actually try with this:


in my hook_entity_presave(), if i inspect the object 'settings' the page_confirm_path is set with value '/custom-path' but don't works the redirect after submit, and if i see the config of this webform don't see this custom path in confirmation tab.

Related Questions

Delete single redirection

Updated June 07, 2019 16:07 PM