function flag_rules_condition_flagged in Flag 6
Same name and namespace in other branches
- 6.2 includes/flag.rules.inc \flag_rules_condition_flagged()
- 7.3 flag.rules.inc \flag_rules_condition_flagged()
- 7.2 flag.rules.inc \flag_rules_condition_flagged()
Condition: Flag is flagged.
1 string reference to 'flag_rules_condition_flagged'
- flag_rules_condition_info in includes/
flag.rules.inc - Implementation of hook_rules_condition_info().
File
- includes/
flag.rules.inc, line 313 - flag.rules.inc Rules integration for the Flag module.
Code
function flag_rules_condition_flagged($flag, $object, $account, $settings) {
return $flag
->is_flagged($flag
->get_content_id($object), $account->uid);
}