function getlocations_element_map_markeraction in Get Locations 7
Same name and namespace in other branches
- 6.2 getlocations.module \getlocations_element_map_markeraction()
- 6 getlocations.module \getlocations_element_map_markeraction()
- 7.2 getlocations.module \getlocations_element_map_markeraction()
Function
Return value
Returns form element
1 call to getlocations_element_map_markeraction()
File
- ./
getlocations.module, line 3571 - getlocations.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function getlocations_element_map_markeraction($default) {
$element = array(
'#type' => 'select',
'#title' => t('Marker action'),
'#default_value' => $default,
'#options' => array(
0 => t('None'),
1 => t('InfoWindow'),
2 => t('InfoBubble'),
3 => t('Link'),
),
'#description' => t("'None' is No action,") . '<br />' . t("'InfoWindow' show information in a Google InfoWindow,") . '<br />' . t("'InfoBubble' use InfoBubble instead,") . '<br />' . t("'Link' go to a page."),
);
return $element;
}