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.
I was moving things out of my .module file into mymodule.commerce.inc, and figured it would be nice if commerce_coupon hooks could be moved there too.
FYI: I've seen the 'commerce' group used in commerce 'core' modules, commerce_shipping and commerce_addressbook hooks.
Comment | File | Size | Author |
---|---|---|---|
commerce_coupon_hook_info.patch | 1.05 KB | roderik | |
Comments
Comment #1
Summit CreditAttribution: Summit commentedWould be great to have this hook in!
Greetings, Martijn
Comment #2
mglamanWish I would have seen this sooner, makes sense. However the patch no longer applies.