Hi,
when I tried to implement the hook_webform_submission_create() hook, I've recognized that this hook name is incorrect, as the hook is called with drupal_alter(). Instead the correct name must be "hook_webform_submission_create_alter" and the parameters are called by reference.
I've already prepared a patch, that I'll add immediately.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | webform-fix_incorrect_hook_webform_submission_create_name-2530588-1.patch | 466 bytes | agoradesign |
Comments
Comment #1
agoradesign commentedSo, here's the patch!
Comment #2
danchadwick commentedThanks! The testbot is now unstuck, so the tests passed. Committed to 7.x-4.x and 8.x.