public function MigrateAddressPhoneFieldHandler::fields in Address Field Phone 7
Provide subfields for the addressfield columns.
Overrides MigrateAddressFieldHandler::fields
File
- ./
addressfield_phone.migrate.inc, line 29
Class
- MigrateAddressPhoneFieldHandler
- A Field Handler class that makes address_phone subfield destination for migate api.
Code
public function fields() {
// Declare our arguments to also be available as subfields.
$fields = array(
'phone_number' => t('Phone Number'),
'phone_number_extension' => t('extension'),
'mobile_number' => t('Mobile Number'),
'fax_number' => t('Fax Number'),
);
return $fields;
}