function weather_permission in Weather 7.2
Same name and namespace in other branches
- 7.3 weather.module \weather_permission()
- 7 weather.module \weather_permission()
Implements hook_permission().
File
- ./
weather.module, line 50 - Display current weather data from many places in the world.
Code
function weather_permission() {
return array(
'administer system-wide weather' => array(
'title' => t('Administer system-wide weather'),
'description' => t('Allows users to configure system-wide weather displays and places.'),
),
'administer custom weather block' => array(
'title' => t('Administer custom weather block'),
'description' => t('Allows users to configure their custom weather block.'),
),
'access weather search page' => array(
'title' => t('Access weather search page'),
'description' => t('Allows users to access the !weather_search_page which provides a search for all weather stations.', array(
'!weather_search_page' => l(t('weather search page'), 'weather'),
)),
),
);
}