Posted by yaoweizhen on September 30, 2009 at 8:42am
Jump to:
| Project: | Flag |
| Version: | 6.x-1.1 |
| Component: | Actions integration |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
No flag api document ?
I will send a privatemsg when flag/unflag node. I don't want to install rules and just finding a simplest way.
Comments
#1
There is partial documentation at http://drupal.org/node/305086, but it doesn't include the hook that would be most helpful for you. You can respond to flaggings by implementing hook_flag(). Check out the flag_flag() function (flag's implementation of hook_flag) for an example usage.
#2
I updated the docs to include hook_flag() in http://drupal.org/node/305086.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.