You are here

public function weather_handler_wind_direction::option_definition in Weather 7.3

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

Setup default settings.

Overrides views_handler_field::option_definition

File

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

Class

weather_handler_wind_direction
Field handler to render the wind direction.

Code

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