function process_gmap_address in GMap Module 5
Same name and namespace in other branches
- 6.2 gmap.module \process_gmap_address()
- 6 gmap.module \process_gmap_address()
- 7.2 gmap.module \process_gmap_address()
- 7 gmap.module \process_gmap_address()
Address widget #process function.
File
- ./
gmap.module, line 736 - 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;
}