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

CommentFileSizeAuthor
#2 image_approval-hooks-3207196-2.patch2.29 KBkyberman

Comments

kyberman created an issue. See original summary.

kyberman’s picture

StatusFileSize
new2.29 KB
prethiee’s picture

Hi 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.