You are here

function flag_rules_action_unflag_label in Flag 6

Same name and namespace in other branches
  1. 6.2 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
flag.rules_form.inc 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(),
  ));
}