You are here

function hook_entity_property_info_alter in Geocoder 7

Implements hook_entity_property_info_alter().

Give Users a virtual property that contains all relevant address information from multiple sources.

File

./geocoder.api.php, line 14
geocoder.api.php

Code

function hook_entity_property_info_alter(&$info) {
  $info['user']['bundles']['user']['properties']['full_address'] = array(
    'type' => 'text',
    'label' => 'Full adress (from other fields)',
    'getter callback' => 'YOURMOD_user_full_address',
  );
}