Problem/Motivation
There is currently no way how a module could react to the approved/disapproved image situation.
Proposed resolution
Implement events (ideal) or hooks (simpler) that would be invoked after the "image_approval_do_*" is processed.
Remaining tasks
Review and merge the provided patch with hooks, or implement a patch with events.
API changes
2 (or more?) new events/hooks:
- hook_image_approval_approved
- hook_image_approval_disapproved
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | image_approval-hooks-3207196-2.patch | 2.29 KB | kyberman |
Comments
Comment #2
kybermanComment #3
prethiee commentedHi Kyberman,
Thanks for the patch, and your patience. it took longer than I expected to get back on looking into the issue. This is a good place to start, and I as well looking it to combine with events, was also trying with creating rules events having the dependency with the module, still have work to on that front. It keep you posted.