function rules_data_text_comparison_operation_list in Rules 7.2
Options list callback for condition text_matches.
Related topics
1 string reference to 'rules_data_text_comparison_operation_list'
- 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 722 - General data related rules integration.
Code
function rules_data_text_comparison_operation_list() {
return array(
'contains' => t('contains'),
'starts' => t('starts with'),
'ends' => t('ends with'),
'regex' => t('regular expression'),
);
}