You are here

function theme_gmap_style in GMap Module 6.2

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

Theme a gmap_style fieldset.

File

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

Code

function theme_gmap_style($element) {

  // Fieldsets print #value at the end, so we need to empty it out.
  // Otherwise, it puts "Array" at the end of the fieldset.
  $element['#value'] = '';
  return theme('fieldset', $element, $element['#children']);
}