You are here

function getlocations_element_map_markeractiontype in Get Locations 7

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

Function

Return value

Returns form element

1 call to getlocations_element_map_markeractiontype()
getlocations_markeraction_form in ./getlocations.module

File

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

Code

function getlocations_element_map_markeractiontype($default) {
  $element = array(
    '#type' => 'select',
    '#title' => t('Marker action type'),
    '#default_value' => $default,
    '#options' => array(
      1 => t('Click'),
      2 => t('Mouse over'),
    ),
    '#description' => t("'Click' is clicking on the marker,") . '<br />' . t("'Mouse over' is holding the mouse over a marker."),
  );
  return $element;
}