You are here

function addressfield_phone_field_info_alter in Address Field Phone 7

Implements hook_field_info_alter().

Add phone related properties on addressfield.

File

./addressfield_phone.module, line 22
Add additional phone fields to addressfield.

Code

function addressfield_phone_field_info_alter(&$field_info) {
  if (isset($field_info['addressfield'])) {
    $field_info['addressfield']['property_callbacks'][] = 'addressfield_phone_property_info_callback';
  }
}