New answers tagged

1 vote

Programmatic webform redirect on submission not redirecting

The issue was the setting in the UI for the webform confirmation. Instead of selecting redirect to a URL (which is actually what it needs to do), 'none' should be selected, which then adds a ...
user avatar
0 votes

TrustedResponseRedirect failing - how to prevent cache metadata?

Since Drupal's TrustedRedirectResponse object extends CacheableSecuredRedirectResponse, I believe that is the source of the issue. This object is adding cache-related metadata to the response, which ...
user avatar

Top 50 recent answers are included