You are here

function flag_rules_condition_threshold_operator_options in Flag 7.2

Same name and namespace in other branches
  1. 7.3 flag.rules.inc \flag_rules_condition_threshold_operator_options()

Options list callback for the operator parameter of the flagging threshold condition.

1 string reference to 'flag_rules_condition_threshold_operator_options'
flag_rules_condition_info in ./flag.rules.inc
Implements hook_rules_condition_info().

File

./flag.rules.inc, line 413
Rules integration for the Flag module.

Code

function flag_rules_condition_threshold_operator_options() {
  return array(
    '>' => t('Greater than'),
    '>=' => t('Greater than or equal'),
    '=' => t('Equal to'),
    '<=' => t('Less than or equal'),
    '<' => t('Less than'),
  );
}