You are here

function getdirections_get_current_supported_module in Get Directions 7.2

Same name and namespace in other branches
  1. 7.3 getdirections.module \getdirections_get_current_supported_module()
12 calls to getdirections_get_current_supported_module()
getdirections_access_location in ./getdirections.module
menu access functions
getdirections_access_user_location in ./getdirections.module
getdirections_load_locations in ./getdirections.module
getdirections_locations_path in ./getdirections.api.inc
API Function to generate a url path for use by other modules/themes.
getdirections_locations_user_path in ./getdirections.api.inc
API Function to generate a url path for use by other modules/themes.

... See full list

File

./getdirections.module, line 1928
Fetches google map directions.

Code

function getdirections_get_current_supported_module() {
  $modules = getdirections_supported_modules();
  foreach ($modules as $module) {
    if (module_exists($module)) {
      return $module;
    }
  }
  return FALSE;
}