You are here

public function weather_handler_date::init in Weather 7.2

Same name and namespace in other branches
  1. 7.3 views_handlers/weather_handler_date.inc \weather_handler_date::init()

Override init function for additional fields to add.

Overrides views_handler_field::init

File

views_handlers/weather_handler_date.inc, line 32
Views handler for weather module.

Class

weather_handler_date
Field handler to .

Code

public function init(&$view, &$options) {
  parent::init($view, $options);
  $this->additional_fields['utc_offset'] = array(
    'table' => 'weather_forecast_information',
    'field' => 'utc_offset',
  );
}