You are here

public function WordPressSource::fields in WordPress Migrate 7

Returns a list of fields available to be mapped from the source.

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

./wordpress_source.inc, line 106
Common source support for migration from WordPress XML dumps.

Class

WordPressSource
@file Common source support for migration from WordPress XML dumps.

Code

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