You are here

function birthdays_field_views_handler_filter::operators in Birthdays 7

Overrides views_handler_filter_date::operators().

Overrides views_handler_filter_numeric::operators

1 call to birthdays_field_views_handler_filter::operators()
birthdays_field_views_handler_filter::options_validate in views/birthdays_field_views_handler_filter.inc
Overrides views_handler_filter_date::options_validate().

File

views/birthdays_field_views_handler_filter.inc, line 16
The birthdays_field_views_handler_filter class.

Class

birthdays_field_views_handler_filter
Handler that allows to filter by birthday fields.

Code

function operators() {

  // Remove NULL form the parent operators, e.g. "Is empty (NULL)".
  $operators = parent::operators();
  $operators['empty']['title'] = t('Is empty');
  $operators['not empty']['title'] = t('Is not empty');
  return $operators;
}