You are here

function theme_gmap_address in GMap Module 5

Same name and namespace in other branches
  1. 6.2 gmap.module \theme_gmap_address()
  2. 6 gmap.module \theme_gmap_address()

File

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

Code

function theme_gmap_address($element) {
  drupal_add_js(drupal_get_path('module', 'gmap') . '/js/address.js');
  $element['#autocomplete_path'] = '';
  return theme('textfield', $element);
}