function live_weather_theme in Live Weather 8.2
Same name and namespace in other branches
- 8 live_weather.module \live_weather_theme()
Implements hook_theme().
File
- ./
live_weather.module, line 31 - Provides a customized live weather report using Yahoo weather API.
Code
function live_weather_theme($existing, $type, $theme, $path) {
return [
'live_weather' => [
'variables' => [
'weather_detail' => NULL,
],
],
];
}