function gmap_location_permission in GMap Module 7
Same name and namespace in other branches
- 7.2 gmap_location.module \gmap_location_permission()
Implementation of hook_permission().
File
- ./
gmap_location.module, line 29 - GMap Location module is a module to add some gmap funcationality based on location.modules information.
Code
function gmap_location_permission() {
return array(
'view node map' => array(
'title' => t('View node map'),
'description' => t('See the sitewide node map.'),
),
'view user map' => array(
'title' => t('View user map'),
'description' => t('See the sitewide user map.'),
),
'view user location details' => array(
'title' => t('View user location details'),
'description' => t('See the users associated with markers on the sitewide user map.'),
),
);
}