You are here

public function MigrateSourceXML::fields in Migrate 6.2

Same name and namespace in other branches
  1. 7.2 plugins/sources/xml.inc \MigrateSourceXML::fields()

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/xml.inc, line 934
Support for migration from XML sources.

Class

MigrateSourceXML
Implementation of MigrateSource, to handle imports from XML files.

Code

public function fields() {
  return $this->fields;
}