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.
Found this hook by looking at webform_results_access()
in webform.module but don't see it in webform.api.php
Comment | File | Size | Author |
---|---|---|---|
#3 | webform-document_hook_webform_results_access-1512902-3.patch | 1.31 KB | rocketeerbkw |
#1 | webform-document_hook_webform_results_access-1512902-1.patch | 1.31 KB | rocketeerbkw |
Comments
Comment #1
rocketeerbkw CreditAttribution: rocketeerbkw commentedI've added the hook to webform.api.php
Comment #2
tim.plunkettThis looks like its wrapped well before 80 characters, might as well rewrap it.
User shouldn't be capitalized.
Should TRUE or FALSE
Should end with a full stop.
Should be == 0, not = 0.
replace true with TRUE
Comment #3
rocketeerbkw CreditAttribution: rocketeerbkw commentedThanks!
Comment #4
tim.plunkettLooks great!
Comment #5
fenstratThanks @rocketeerbkw and @tim.plunkett!
I minor adjustments to the doc description, punctiation on the @see, and added a explicit FALSE return.
Committed and pushed to 7.x-4.x, 6.x-3.x and 7.x-3.x.