You are here

function getdirections_theme in Get Directions 6.2

Same name and namespace in other branches
  1. 6 getdirections.theme.inc \getdirections_theme()
  2. 7.3 getdirections.module \getdirections_theme()
  3. 7.2 getdirections.module \getdirections_theme()

Implementation of hook_theme().

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

File

./getdirections.theme.inc, line 14
getdirections module theming

Code

function getdirections_theme() {
  return array(
    'getdirections_show' => array(
      'arguments' => array(
        'form' => array(),
        'width' => '',
        'height' => '',
        'nid' => 0,
        'type' => '',
      ),
    ),
    'getdirections_show_locations' => array(
      'arguments' => array(
        'width' => '',
        'height' => '',
        'fromlocs' => '',
        'tolocs' => '',
      ),
    ),
    'getdirections_show_locations_via' => array(
      'arguments' => array(
        'width' => '',
        'height' => '',
        'locs' => NULL,
      ),
    ),
    'getdirections_direction_form' => array(
      'arguments' => array(
        'form' => NULL,
      ),
    ),
    'getdirections_box' => array(
      'arguments' => array(
        'content' => NULL,
      ),
      'template' => 'getdirections_box',
    ),
    'getdirections_loadaddress' => array(
      'arguments' => array(
        'location' => array(),
        'addcountry' => FALSE,
      ),
    ),
  );
}