function flag_rules_action_unflag_label in Flag 6.2
Same name and namespace in other branches
- 6 includes/flag.rules_forms.inc \flag_rules_action_unflag_label()
1 string reference to 'flag_rules_action_unflag_label'
- flag_rules_action_info in includes/
flag.rules.inc - Implementation of hook_rules_action_info().
File
- includes/
flag.rules_forms.inc, line 35 - Rules integration for the Flag module.
Code
function flag_rules_action_unflag_label($settings, $argument_labels, $element) {
$flag = rules_get_element_variable($element, 'flag');
return t('Unflag @object, under "@flag-title"', $argument_labels + array(
'@flag-title' => $flag
->get_title(),
));
}