You are here

function commerce_price_handler_filter_commerce_price_amount::operators in Commerce Core 7

Overrides views_handler_filter_numeric::operators

File

modules/price/includes/views/handlers/commerce_price_handler_filter_commerce_price_amount.inc, line 7

Class

commerce_price_handler_filter_commerce_price_amount
Filter handler to convert price filter to use decimal + currency.

Code

function operators() {
  $operators = parent::operators();

  // Remove the regular expression operator.
  unset($operators['regular_expression']);
  return $operators;
}