public function MigrateDestinationBiblioType::fields in Bibliography Module 7.3
Derived classes must implement fields(), returning a list of available destination fields.
Parameters
Migration $migration: Optionally, the migration containing this destination.
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_type.inc, line 100
Class
Code
public function fields() {
return array(
'type' => 'The machine-readable name of this type.',
'name' => 'The human-readable name of this type.',
'description' => 'A brief description of this type.',
);
}