public function MigrateSourceDB2::fields in Migrate 7.2
Returns a list of fields available to be mapped from the source query.
Return value
array Keys: machine names of the fields (to be passed to addFieldMapping) Values: Human-friendly descriptions of the fields.
Overrides MigrateSource::fields
File
- plugins/
sources/ db2.inc, line 108 - Define a MigrateSource class for importing from IBM DB2 databases.
Class
- MigrateSourceDB2
- Implementation of MigrateSource, to handle imports from remote DB2 servers.
Code
public function fields() {
// The fields are passed to the constructor for this plugin.
return $this->fields;
}