You are here

function date_api_filter_handler::init in Date 6

Same name and namespace in other branches
  1. 6.2 includes/date_api_filter_handler.inc \date_api_filter_handler::init()

File

./date_api.views.inc, line 531
Defines date-related Views data and plugins:

Class

date_api_filter_handler
A flexible, configurable date filter.

Code

function init(&$view, $options) {
  parent::init($view, $options);
  $handler = $this->date_handler;
  $handler->granularity = $options['granularity'];
  $handler->adjustment_field = $options['adjustment_field'];
}