You are here

public function MigrateSourceXML::fields in Migrate 7.2

Same name and namespace in other branches
  1. 6.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 1270
Support for migration from XML sources.

Class

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

Code

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