You are here

function voting_rules_condition_operator_options in Voting Rules 7

Options list: Operators.

1 call to voting_rules_condition_operator_options()
voting_rules_condition_check_vote_value in ./voting_rules.rules.inc
Condition: Check the value of an individual vote.
1 string reference to 'voting_rules_condition_operator_options'
voting_rules_rules_condition_info in ./voting_rules.rules.inc
Implements hook_rules_condition_info().

File

./voting_rules.rules.inc, line 283
Provides Rules integration for the Voting API module.

Code

function voting_rules_condition_operator_options() {
  return array(
    '==' => t('equals'),
    '<' => t('is lower than'),
    '<=' => t('is lower than or equal to'),
    '>' => t('is greather than'),
    '>=' => t('is greather than or equal to'),
  );
}