function _commerce_discount_operator_options in Commerce Discount 7
Options list callback for condition.
2 calls to _commerce_discount_operator_options()
- commerce_order_compare_order_amount_configure in ./
commerce_discount.inline_conditions.inc - Configuration callback for commerce_order_compare_order_amount.
- commerce_order_has_specific_quantity_products_configure in ./
commerce_discount.inline_conditions.inc - Configure callback for commerce_order_has_specific_quantity_products.
1 string reference to '_commerce_discount_operator_options'
File
- ./
commerce_discount.rules.inc, line 1518 - Rules integration for the Commerce Discount module.
Code
function _commerce_discount_operator_options() {
return array(
'<' => t('less than'),
'<=' => t('less than or equal to'),
'==' => t('equals'),
'>' => t('greater than'),
'>=' => t('greater than or equal to'),
);
}