1 date_views_filter_handler_simple.inc date_views_filter_handler_simple::operators()

Overrides views_handler_filter_numeric::operators

File

core/modules/date/views/date_views_filter_handler_simple.inc, line 59
A standard Views filter for a single date field, using Date API form selectors and sql handling.

Class

date_views_filter_handler_simple
@file A standard Views filter for a single date field, using Date API form selectors and sql handling.

Code

function operators() {
  $operators = parent::operators();
  $operators['contains'] = array(
    'title' => t('Contains'),
    'method' => 'op_contains',
    'short' => t('contains'),
    'values' => 1,
  );
  return $operators;
}