function weather_help in Weather 7
Same name and namespace in other branches
- 8 weather.module \weather_help()
- 5.6 weather.module \weather_help()
- 6.5 weather.module \weather_help()
- 7.3 weather.module \weather_help()
- 7.2 weather.module \weather_help()
- 2.0.x weather.module \weather_help()
Implement hook_help().
File
- ./
weather.module, line 196 - Display current weather data from many places in the world.
Code
function weather_help($path, $arg) {
$output = '';
switch ($path) {
case 'admin/config/user-interface/weather':
$output .= '<p>';
$output .= t('You can add, edit, and delete locations from system-wide weather displays. Moreover, you can specify default values for newly created displays.');
$output .= '</p>';
break;
case 'user/%/weather':
$output .= '<p>';
$output .= t('You can add, edit, and delete locations from your custom weather display.');
$output .= "\n";
$output .= t('Please note that the display will not be shown until you configure at least one location.');
$output .= '</p>';
break;
}
return $output;
}