Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The token [submission:access-token] should exist with value returned by webform_get_submission_access_token(). This would make it easier to generate links to the submission results page. If the maintainer agrees with this request and the token name, I will find time to work on this.
Comment | File | Size | Author |
---|---|---|---|
#3 | webform-access_token-2474773-3-D7.patch | 1.18 KB | Liam Morland |
Comments
Comment #1
DanChadwick CreditAttribution: DanChadwick commentedSeems like a good idea. It's unfortunate that we are using "token" to mean two totally different things. I don't have a suggestion for what to do about that though.
Comment #2
DanChadwick CreditAttribution: DanChadwick commentedFor the record, I'm okay with the proposed token name. A token that gives you a token. Sigh.
Comment #3
Liam MorlandComment #5
DanChadwick CreditAttribution: DanChadwick commentedTested and confirmed that token works as advertised. Nice.
For reference, here's a link to the submission that could be included in an e-mail or confirmation page:
Go to your submission: <a href="/node/[node:nid]/submission/[submission:sid]?token=[submission:access-token]">Submission [submission:serial]</a>
Committed to 7.x. Thanks, Liam.
Comment #6
DanChadwick CreditAttribution: DanChadwick commentedNeeds port to D8.
Comment #7
DanChadwick CreditAttribution: DanChadwick commentedD'oh.
Comment #9
DanChadwick CreditAttribution: DanChadwick commentedUm, thanks, testbot. You can't apply the patch because it's already committed and you've already passed the branch with the commit.
Comment #10
Liam MorlandThanks, Dan.
Comment #11
fenstratCommitted and pushed to 8.x-4.x. Thanks!