You are here

function process_gmap_markerchooser in GMap Module 5

Same name and namespace in other branches
  1. 6.2 gmap.module \process_gmap_markerchooser()
  2. 6 gmap.module \process_gmap_markerchooser()
  3. 7.2 gmap.module \process_gmap_markerchooser()
  4. 7 gmap.module \process_gmap_markerchooser()

Marker chooser #process function.

File

./gmap.module, line 747
GMap -- Routines to use the Google Maps API in Drupal.

Code

function process_gmap_markerchooser($element) {
  $element['#type'] = 'select';
  $element['#options'] = gmap_get_marker_titles();
  $element += _element_info('select');
  return $element;
}