You are here

function wunderground_weather_forecast_fields in Wunderground weather 7

Returns an array of available fields for the weather forecast block.

Return value

array An array of fields.

1 call to wunderground_weather_forecast_fields()
wunderground_weather_block_configure in ./wunderground_weather.module
Implements hook_block_configure().

File

./wunderground_weather.module, line 784
Wunderground weather module to display weather forecasts and current weather conditions in blocks.

Code

function wunderground_weather_forecast_fields() {
  return array(
    'image' => t('Weather icons'),
    'conditions' => t('Weather description'),
    'temperature' => t('Temperature'),
    'rain' => t('Chance of rain'),
    'wind' => t('Wind speed'),
  );
}