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.

CommentFileSizeAuthor
commerce_coupon_hook_info.patch1.05 KBroderik
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Summit’s picture

Status: Needs review » Reviewed & tested by the community

Would be great to have this hook in!
Greetings, Martijn

mglaman’s picture

Status: Reviewed & tested by the community » Needs work

Wish I would have seen this sooner, makes sense. However the patch no longer applies.