You are here

function getlocations_get_current_supported_module in Get Locations 7

Same name and namespace in other branches
  1. 7.2 getlocations.module \getlocations_get_current_supported_module()

Function

Return value

Returns

23 calls to getlocations_get_current_supported_module()
getlocations_check_entity_type in ./getlocations.module
Function is an entity_type location enabled?
getlocations_check_node in ./getlocations.module
Function to check if bundle has a locative field
getlocations_commentmap in ./getlocations.module
Page callback: Displays a map.
getlocations_defaults in ./getlocations.module
Some defaults.
getlocations_get_fieldname in ./getlocations.module
Function to collect field name

... See full list

File

./getlocations.module, line 6616
getlocations.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

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