public function KickstartMigrateTaxonomyTermReferenceFieldHandler::fields in Commerce Kickstart 7.2
Implementation of MigrateFieldHandler::fields().
Parameters
$type: The field type.
$instance: Instance info for the field.
Migration $migration: The migration context for the parent field. We can look at the mappings and determine which subfields are relevant.
Return value
array
Overrides MigrateTaxonomyTermReferenceFieldHandler::fields
File
- modules/
commerce_kickstart/ commerce_kickstart_migrate/ plugins/ destinations/ fields.inc, line 9
Class
Code
public function fields($type, $instance, $migration = NULL) {
return array(
'additional_field' => t('Option: Pass any additional field that should be added in the term. Array should be "field_name|value".'),
'weight' => t('Option: Pass term weight. Value should be "weight".'),
);
}