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