You are here

function hook_user_full_address in Geocoder 7

Entity property callback for user.full_address.

Field_address is a text field, and when combined with a variable makes the full address.

File

./geocoder.api.php, line 28
geocoder.api.php

Code

function hook_user_full_address($entity, $options, $field, $entity_type, $property) {
  return $entity->field_address[LANGUAGE_NONE][0]['value'] . ', ' . variable_get('YOURMOD_global_country', 'Zimbabwe');
}