function getdirections_theme in Get Directions 6
Same name and namespace in other branches
- 6.2 getdirections.theme.inc \getdirections_theme()
- 7.3 getdirections.module \getdirections_theme()
- 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 15 - getdirections module theming
Code
function getdirections_theme() {
return array(
'getdirections_show' => array(
'arguments' => array(
'form' => array(),
'width' => '',
'height' => '',
),
),
'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,
),
),
);
}