You are here

function process_gmap_address in GMap Module 7

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.2 gmap.module \process_gmap_address()

Address widget #process function.

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

File

./gmap.module, line 900
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;
}