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.
While working on a project to create new Drupal-side campaigns when one is created via Mailchimp, I needed to respond to Mailchimp webhook hits. Rather than adding another webhook endpoint I added a module_invoke_all in mailchimp_process_webhook.
An example invocation can be seen in my in-progress module: https://github.com/bnchdrff/mailchimp_campaigngrab/blob/master/mailchimp...
Could this patch be included in future releases?
Comment | File | Size | Author |
---|---|---|---|
#2 | mailchimp-action_hooks-1960616-2.patch | 644 bytes | bc |
#1 | mailchimp-hookwebhook-1960616.patch | 420 bytes | bc |
Comments
Comment #1
bc CreditAttribution: bc commentedComment #2
bc CreditAttribution: bc commentedalso, a hook for allowing modules to add actions would be nice as well... my apologies if this should be a separate issue!
Comment #3
levelos CreditAttribution: levelos commentedGood idea, although your patch from #1 needed some work. Working version committed in 0bdb1191f482bf0d488df4fba299952499b90cb6. If you still want to pursue #2, lets do so in a new issue.
Comment #5
bc CreditAttribution: bc commentedOof. sorry about that malformed patch... pasted in funny. I opened another issue for the action hook.