function getlocations_element_map_mtc in Get Locations 7
Same name and namespace in other branches
- 6.2 getlocations.module \getlocations_element_map_mtc()
- 6 getlocations.module \getlocations_element_map_mtc()
- 7.2 getlocations.module \getlocations_element_map_mtc()
Function
Return value
Returns form element
1 call to getlocations_element_map_mtc()
- getlocations_map_display_options_form in ./
getlocations.module - Function
File
- ./
getlocations.module, line 3472 - getlocations.module @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function getlocations_element_map_mtc($default) {
$element = array(
'#type' => 'select',
'#title' => t('Map Control Type'),
'#options' => array(
'none' => t('None'),
'standard' => t('Horizontal bar'),
'menu' => t('Dropdown'),
),
'#default_value' => $default,
);
return $element;
}