Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Commerce
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Nov 2010 at 16:03 UTC
Updated:
27 Nov 2010 at 04:30 UTC
rszrama asked fago in this issue #899422: Invoke a hook when an event occurs? for a generic way to invoke hooks and rule_events.
This function is implemented now: rules_invoke_all
Since rszrama and I came across this topic today I thought I create a patch where I replace the both function call with the new one.
| Comment | File | Size | Author |
|---|---|---|---|
| commerce-use-rules_invoke_all.patch | 5.64 KB | das-peter |
Comments
Comment #1
rszrama commentedPulled this in and added documentation for these hooks since they'll be a little harder to detect coming through rules_invoke_all() with a simple grep.