You are here

function gmap_location_theme in GMap Module 7.2

Same name and namespace in other branches
  1. 6.2 gmap_location.module \gmap_location_theme()
  2. 6 gmap_location.module \gmap_location_theme()
  3. 7 gmap_location.module \gmap_location_theme()

Implements hook_theme().

File

./gmap_location.module, line 15
GMap Location module is a module to add some gmap funcationality based on location.modules information.

Code

function gmap_location_theme() {
  return array(
    'gmap_location_user_page' => array(
      'variables' => array(
        'header' => '',
        'map' => '',
        'footer' => '',
      ),
    ),
    'gmap_location_node_page' => array(
      'variables' => array(
        'count' => 0,
        'header' => '',
        'map' => '',
        'footer' => '',
      ),
    ),
    // @@@ Test this one thoroughly.
    'gmap_location_infowindow_node' => array(
      'pattern' => 'gmap_location_infowindow_node__',
      'variables' => array(
        'node' => NULL,
        'opt' => NULL,
      ),
    ),
    'gmap_location_infowindow_user' => array(
      'variables' => array(
        'account' => NULL,
      ),
    ),
  );
}