function theme_getdirections_addressfield_loadaddress in Get Directions 7.3
Same name and namespace in other branches
- 7.2 getdirections.module \theme_getdirections_addressfield_loadaddress()
Handles addressfield
1 theme call to theme_getdirections_addressfield_loadaddress()
- _getdirections_addressfield_loadaddress in ./
getdirections.module - Function to collect an address from addressfield
File
- ./
getdirections.module, line 3560 - 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,
));
}