You are here

function process_gmap_address in GMap Module 6

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

Address widget #process function.

1 string reference to 'process_gmap_address'
gmap_elements in ./gmap.module
Implementation of hook_elements().

File

./gmap.module, line 784
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['#theme'] = 'gmap_address';
  $element += _element_info('textfield');
  return $element;
}