You are here

function getlocations_theme in Get Locations 6

Same name and namespace in other branches
  1. 6.2 getlocations.theme.inc \getlocations_theme()
  2. 7.2 getlocations.module \getlocations_theme()
  3. 7 getlocations.module \getlocations_theme()

Implementation of hook_theme().

This lets us tell Drupal about our theme functions and their arguments.

File

./getlocations.theme.inc, line 14
getlocations module theming functions. using version 3 googlemaps API

Code

function getlocations_theme() {
  return array(
    'getlocations_show' => array(
      'arguments' => array(
        'width' => '',
        'height' => '',
        'defaults' => '',
        'mapid' => '',
        'type' => '',
        'node' => '',
      ),
    ),
    'getlocations_info' => array(
      'arguments' => array(
        'location' => NULL,
      ),
    ),
    'getlocations_box' => array(
      'arguments' => array(
        'content' => NULL,
      ),
      'template' => 'getlocations_box',
    ),
  );
}