function _getdirections_addressfield_loadaddress in Get Directions 7.3
Function to collect an address from addressfield
Parameters
array $address:
bool $addcountry:
Return value
Returns array.
1 call to _getdirections_addressfield_loadaddress()
- getdirections_fields_field_formatter_view in modules/
getdirections_fields/ getdirections_fields.module - Implements hook_field_formatter_view(). Build a renderable array for a field value.
File
- ./
getdirections.module, line 1438 - Fetches google map directions.
Code
function _getdirections_addressfield_loadaddress($address, $addcountry = TRUE) {
// theme it so others can change it
return theme('getdirections_addressfield_loadaddress', array(
'address' => $address,
'addcountry' => $addcountry,
));
}