function commerce_numeric_comparison_operator_options_list in Commerce Core 7
Returns an array of numerical comparison operators for use in Rules.
3 string references to 'commerce_numeric_comparison_operator_options_list'
- commerce_order_rules_condition_info in modules/
order/ commerce_order.rules.inc - Implements hook_rules_condition_info().
- commerce_payment_rules_condition_info in modules/
payment/ commerce_payment.rules.inc - Implements hook_rules_condition_info().
- commerce_price_rules_condition_info in modules/
price/ commerce_price.rules.inc - Implements hook_rules_condition_info().
File
- ./
commerce.module, line 826 - Defines features and functions common to the Commerce modules.
Code
function commerce_numeric_comparison_operator_options_list() {
return drupal_map_assoc(array(
'<',
'<=',
'=',
'>=',
'>',
));
}