You are here

function getlocations_tools_get_options in Get Locations 7

Same name and namespace in other branches
  1. 7.2 modules/getlocations_tools/getlocations_tools.module \getlocations_tools_get_options()
2 calls to getlocations_tools_get_options()
getlocations_tools_export_form in modules/getlocations_tools/getlocations_tools.module
getlocations_tools_import_form in modules/getlocations_tools/getlocations_tools.module

File

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

Code

function getlocations_tools_get_options() {
  $opts = array(
    0 => t('None'),
  );
  if (module_exists('getlocations')) {
    $opts[1] = t('Getlocations');
  }
  if (module_exists('getlocations_fields')) {
    $opts[2] = t('Getlocations Fields');
  }
  if (module_exists('getlocations_search')) {
    $opts[3] = t('Getlocations Search');
  }
  if (module_exists('getlocations_leaflet')) {
    $opts[4] = t('Getlocations Leaflet');
  }
  return $opts;
}