function flag_rules_condition_threshold_label in Flag 6.2
Same name and namespace in other branches
- 6 includes/flag.rules_forms.inc \flag_rules_condition_threshold_label()
1 string reference to 'flag_rules_condition_threshold_label'
- flag_rules_condition_info in includes/
flag.rules.inc - Implementation of hook_rules_condition_info().
File
- includes/
flag.rules_forms.inc, line 84 - Rules integration for the Flag module.
Code
function flag_rules_condition_threshold_label($settings, $argument_labels, $element) {
$flag = rules_get_element_variable($element, 'flag');
return t('Flagging count !op @number, for @object, under "@flag-title"', array(
'@flag-title' => $flag
->get_title(),
'!op' => $settings['operator'],
'@number' => $settings['number'],
) + $argument_labels);
}