You are here

public function weather_handler_wind::option_definition in Weather 7.3

Same name and namespace in other branches
  1. 7.2 views_handlers/weather_handler_wind.inc \weather_handler_wind::option_definition()

Setup default options for wind formatting.

Overrides views_handler_field::option_definition

File

views_handlers/weather_handler_wind.inc, line 40
Views handler for weather module.

Class

weather_handler_wind
Field handler to render the wind condition.

Code

public function option_definition() {
  $options = parent::option_definition();
  $options['wind_settings'] = array(
    'default' => 'normal',
  );
  $options['unit'] = array(
    'default' => 'kmh',
  );
  return $options;
}