You are here

function getlocations_search_do_types in Get Locations 7

Same name and namespace in other branches
  1. 7.2 modules/getlocations_search/getlocations_search.module \getlocations_search_do_types()
2 calls to getlocations_search_do_types()
getlocations_search_js_settings_do in modules/getlocations_search/getlocations_search.module
_getlocations_search_settings_form in modules/getlocations_search/getlocations_search.admin.inc

File

modules/getlocations_search/getlocations_search.module, line 1904
getlocations_search.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function getlocations_search_do_types() {
  $return = FALSE;
  if (module_exists('getlocations_fields')) {
    $return = TRUE;
  }
  elseif (module_exists('geolocation')) {
    $return = TRUE;
  }
  elseif (module_exists('geofield')) {
    $return = TRUE;
  }
  elseif (module_exists('location_cck')) {
    $return = TRUE;
  }
  return $return;
}