public function BiblioMigrateDestinationFieldCollection::fields in Bibliography Module 7.3
Returns a list of fields available to be mapped for this collection (bundle).
Return value
array Keys: machine names of the fields (to be passed to addFieldMapping). Values: Human-friendly descriptions of the fields.
Overrides MigrateDestination::fields
File
- includes/
migrate/ plugins/ destinations/ biblio_field_collection.inc, line 46
Class
- BiblioMigrateDestinationFieldCollection
- Destination class implementing migration into field_collection.
Code
public function fields() {
$fields = migrate_handler_invoke_all('Entity', 'fields', $this->entityType, $this->bundle);
$fields['host_entity_id'] = t('Field collection host ID');
return $fields;
}