You are here

function process_gmap_address in GMap Module 7.2

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

Address widget #process function.

@todo move this to GmapElement class

1 string reference to 'process_gmap_address'
gmap_element_info in ./gmap.module
Implements hook_element_info().

File

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

Code

function process_gmap_address($element) {
  $element['#type'] = 'textfield';
  gmap_widget_setup($element, 'address');
  $element += element_info('textfield');
  return $element;
}