You are here

function theme_location_element in Location 7.3

Same name and namespace in other branches
  1. 5.3 location.module \theme_location_element()
  2. 6.3 location.module \theme_location_element()
  3. 7.5 location.module \theme_location_element()

Theme function to fixup location elements.

File

./location.module, line 206
Location module main routines. An implementation of a universal API for location manipulation. Provides functions for postal_code proximity searching, deep-linking into online mapping services. Currently, some options are configured through an…

Code

function theme_location_element($variables) {
  $element = $variables['element'];

  // Prevent spurious "Array" from appearing.
  unset($element['#value']);
  return theme('fieldset', array(
    'element' => $element,
  ));
}