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

quicksketch’s picture

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.

quicksketch’s picture

Status: Active » Fixed

I updated the docs to include hook_flag() in http://drupal.org/node/305086.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.