You are here

function wunderground_weather_theme in Wunderground weather 7

Same name and namespace in other branches
  1. 8 wunderground_weather.module \wunderground_weather_theme()

Implements hook_theme().

File

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

Code

function wunderground_weather_theme() {
  return array(
    'wunderground_weather_forecast' => array(
      'variables' => array(
        'simpleforecast' => NULL,
      ),
    ),
    'wunderground_weather_current' => array(
      'variables' => array(
        'image' => NULL,
        'summary' => NULL,
      ),
      'template' => 'templates/wunderground_weather_current',
    ),
    'wunderground_weather_field_drag' => array(
      'render element' => 'form',
    ),
  );
}