You are here

function getlocations_element_markermanagertype in Get Locations 7

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

Function

Return value

Returns form element

2 calls to getlocations_element_markermanagertype()
getlocations_settings_form in ./getlocations.admin.inc
Function to display the getlocations admin settings form
_getlocations_search_settings_form in modules/getlocations_search/getlocations_search.admin.inc

File

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

Code

function getlocations_element_markermanagertype($default) {
  $element = array(
    '#type' => 'select',
    '#title' => t('Marker Manager type'),
    '#default_value' => $default,
    '#options' => array(
      0 => t('None'),
      2 => t('Marker Clusterer'),
      1 => t('Marker Manager'),
    ),
    '#description' => t('The type of marker management software to load, if any.'),
  );
  return $element;
}