You are here

function gmap_location_theme in GMap Module 6.2

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

Implementation of hook_theme().

File

./gmap_location.module, line 13
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(
      'arguments' => array(
        'header',
        'map',
        'footer',
      ),
    ),
    'gmap_location_node_page' => array(
      'arguments' => array(
        'count',
        'header',
        'map',
        'footer',
      ),
    ),
    // @@@ Test this one thoroughly.
    'gmap_location_infowindow_node' => array(
      'pattern' => 'gmap_location_infowindow_node__',
      'arguments' => array(
        'node',
        'opt',
      ),
    ),
    'gmap_location_infowindow_user' => array(
      'arguments' => array(
        'account',
      ),
    ),
  );
}