Download & Extend

Support a hook to provide notification about flagging to other modules

Project:Flag content
Version:4.7.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Invoke a hook on all modules that support it to notify when a node is flagged/unflagged.

This could be done through the standard hook_nodeapi() maybe?

The flag_content module could define a new $op = 'flag' and $op = 'unflag' to notify any 3rd party modules about the state change of the node.

Comments

#1

budda

This is a great idea.

If you have a patch, please go ahead and submit it.