1 date_views_argument_handler.inc date_views_argument_handler::option_definition()

Default value for the date_fields option.

Overrides date_views_argument_handler_simple::option_definition

File

core/modules/date/views/date_views_argument_handler.inc, line 35
Date API views argument handler. This argument combines multiple date arguments into a single argument where all fields are controlled by the same date and can be combined with either AND or OR.

Class

date_views_argument_handler

Code

function option_definition() {
  $options = parent::option_definition();
  $options['date_fields'] = array('default' => array());
  $options['date_method'] = array('default' => 'OR');
  $options['date_group'] = array('default' => 'date');
  return $options;
}