You are here

function __domain_rules_compare_operators in Domain Rules 7

Get array comparsion operators

Return value

array

1 string reference to '__domain_rules_compare_operators'
domain_rules_rules_condition_info in ./domain_rules.module
Implements hook_rules_condition_info()

File

./domain_rules.module, line 45
domain_rules.module @description Port of 'Domain rules' by shushu for Drupal7

Code

function __domain_rules_compare_operators() {
  return array(
    '=' => t('equals'),
    '!=' => t('not equals'),
    '~' => t('matching (possible * and ? wildcards)'),
    'regexp' => t('match with regexp (without modifiers)'),
  );
}