function getdirections_theme in Get Directions 7.2
Same name and namespace in other branches
- 6.2 getdirections.theme.inc \getdirections_theme()
- 6 getdirections.theme.inc \getdirections_theme()
- 7.3 getdirections.module \getdirections_theme()
Implements hook_theme().
This lets us tell Drupal about our theme functions and their variables.
File
- ./
getdirections.module, line 1948 - Fetches google map directions.
Code
function getdirections_theme() {
return array(
'getdirections_show' => array(
'variables' => array(
'form' => NULL,
'width' => '',
'height' => '',
'nid' => 0,
'type' => '',
),
),
'getdirections_show_locations' => array(
'variables' => array(
'width' => '',
'height' => '',
'fromlocs' => '',
'tolocs' => '',
),
),
'getdirections_show_locations_via' => array(
'variables' => array(
'width' => '',
'height' => '',
'locs' => NULL,
),
),
'getdirections_direction_form' => array(
'render element' => 'form',
),
'getdirections_box' => array(
'variables' => array(
'content' => NULL,
),
'template' => 'getdirections_box',
),
'getdirections_loadaddress' => array(
'variables' => array(
'location' => array(),
'addcountry' => FALSE,
),
),
'getdirections_addressfield_loadaddress' => array(
'variables' => array(
'address' => array(),
'addcountry' => FALSE,
),
),
'getdirections_addressfield_convert' => array(
'variables' => array(
'address' => array(),
),
),
);
}