You are here

function date_api_argument_handler::option_definition in Date 6.2

Default value for the date_fields option.

File

includes/date_api_argument_handler.inc, line 53
Views argument handler.

Class

date_api_argument_handler
Date API argument handler.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['date_fields'] = array(
    'default' => array(),
  );
  $options['year_range'] = array(
    'default' => '-3:+3',
    'export' => 'export_plugin',
  );
  $options['date_method'] = array(
    'default' => 'OR',
    'export' => 'export_plugin',
  );
  $options['granularity'] = array(
    'default' => 'month',
    'export' => 'export_plugin',
  );
  $options['default_argument_type'] = array(
    'default' => 'date',
    'export' => 'export_plugin',
  );
  return $options;
}