You are here

function gmap_style_bubbles_element_info_alter in GMap Module 7.2

Implements hook_element_info_alter().

Adds a second pre_render function to add the infobubble javascript to the page.

Related topics

File

gmap_style_bubbles/gmap_style_bubbles.module, line 175
Adds the more options for theming the gmap popup bubble.

Code

function gmap_style_bubbles_element_info_alter(&$type) {
  if (isset($type['gmap']) && is_array($type['gmap']['#pre_render'])) {
    $type['gmap']['#pre_render'][] = '_gmap_style_bubbles_gmap_pre_render_map';
  }
}