function getdirections_access_location in Get Directions 7.2
Same name and namespace in other branches
- 6.2 getdirections.module \getdirections_access_location()
- 7.3 getdirections.module \getdirections_access_location()
menu access functions
1 string reference to 'getdirections_access_location'
- getdirections_menu in ./
getdirections.module - Implement hook_menu().
File
- ./
getdirections.module, line 252 - Fetches google map directions.
Code
function getdirections_access_location() {
if (user_access('access gmap getdirections')) {
if (getdirections_get_current_supported_module()) {
return TRUE;
}
}
return FALSE;
}