You are here

function getlocations_access_location in Get Locations 6.2

Same name and namespace in other branches
  1. 6 getlocations.module \getlocations_access_location()
  2. 7.2 getlocations.module \getlocations_access_location()
  3. 7 getlocations.module \getlocations_access_location()

menu access functions

1 string reference to 'getlocations_access_location'
getlocations_menu in ./getlocations.module
Implementation of hook_menu().

File

./getlocations.module, line 185
Displays locations on a map. for Drupal 6 using version 3 googlemaps API

Code

function getlocations_access_location() {
  if (module_exists('location') && user_access('access getlocations') && (module_exists('location_node') || module_exists('location_cck'))) {
    return TRUE;
  }
  return FALSE;
}