function flag_rules_action_flag in Flag 7.3
Same name and namespace in other branches
- 6.2 includes/flag.rules.inc \flag_rules_action_flag()
- 6 includes/flag.rules.inc \flag_rules_action_flag()
- 7.2 flag.rules.inc \flag_rules_action_flag()
Base action implementation: Flag.
1 string reference to 'flag_rules_action_flag'
- flag_rules_action_info in ./
flag.rules.inc - Implements hook_rules_action_info().
File
- ./
flag.rules.inc, line 388 - Rules integration for the Flag module.
Code
function flag_rules_action_flag($flag, $entity, $flagging_user, $permissions_check) {
$flag
->flag('flag', $flag
->get_entity_id($entity), $flagging_user, $permissions_check);
}