function theme_getdirections_addressfield_loadaddress in Get Directions 7.2
Same name and namespace in other branches
- 7.3 getdirections.module \theme_getdirections_addressfield_loadaddress()
File
- ./
getdirections.module, line 2432 - Fetches google map directions.
Code
function theme_getdirections_addressfield_loadaddress($variables) {
$address = $variables['address'];
$addcountry = $variables['addcountry'];
$location = getdirections_addressfield_convert($address);
return theme('getdirections_loadaddress', array(
'location' => $location,
'addcountry' => $addcountry,
));
}