You are here

function rules_condition_data_is_operator_options in Rules 7.2

Options list callback for condition data_is.

Related topics

1 string reference to 'rules_condition_data_is_operator_options'
rules_data_condition_info in modules/data.rules.inc
Implements hook_rules_condition_info() on behalf of the pseudo data module.

File

modules/data.rules.inc, line 708
General data related rules integration.

Code

function rules_condition_data_is_operator_options() {
  return array(
    '==' => t('equals'),
    'IN' => t('is one of'),
    '<' => t('is lower than'),
    '>' => t('is greater than'),
    // Note: This is deprecated by the text comparison condition.
    'contains' => t('contains'),
  );
}