function getdirections_misc_defaults in Get Directions 6.2
Same name and namespace in other branches
- 7.3 getdirections.module \getdirections_misc_defaults()
- 7.2 getdirections.module \getdirections_misc_defaults()
8 calls to getdirections_misc_defaults()
- getdirections_direction in ./
getdirections.module - Function to setup the map and form
- getdirections_direction_form in ./
getdirections.module - Function to setup the form
- getdirections_locations in ./
getdirections.module - Function to setup the map
- getdirections_locations_via in ./
getdirections.module - Function to setup the map
- getdirections_settings_form in ./
getdirections.admin.inc - Function to display the getdirections admin settings form
File
- ./
getdirections.module, line 787 - Fetches google map directions.
Code
function getdirections_misc_defaults() {
$getdirections_misc = variable_get('getdirections_misc', array(
'keep_title' => 0,
'show_distance' => 0,
'trafficinfo' => 0,
'trafficinfo_state' => 0,
'bicycleinfo' => 0,
'bicycleinfo_state' => 0,
'switchfromto' => 0,
'show_duration' => 0,
'panoramio_show' => 0,
'panoramio_state' => 0,
'transitinfo' => 0,
'transitinfo_state' => 0,
));
return $getdirections_misc;
}