function weather_theme in Weather 6.5
Same name and namespace in other branches
- 8 weather.module \weather_theme()
- 7.3 weather.module \weather_theme()
- 7 weather.module \weather_theme()
- 7.2 weather.module \weather_theme()
- 2.0.x weather.module \weather_theme()
Implementation of hook_theme().
File
- ./
weather.module, line 355 - Display <acronym title="METeorological Aerodrome Report">METAR</acronym> weather data from anywhere in the world
Code
function weather_theme() {
return array(
// Custom theme function for preprocessing variables
'weather_theming' => array(
'arguments' => array(
'config' => NULL,
'metar' => NULL,
),
),
// Default block layout
'weather' => array(
'template' => 'weather',
'arguments' => array(
'weather' => NULL,
),
),
// Compact block layout
'weather_compact' => array(
'template' => 'weather_compact',
'arguments' => array(
'weather' => NULL,
),
),
);
}