You are here

public function MigrateDestinationTableCopy::fields in Migrate 7.2

Same name and namespace in other branches
  1. 6.2 plugins/destinations/table_copy.inc \MigrateDestinationTableCopy::fields()

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

plugins/destinations/table_copy.inc, line 86
Copies data_row into a table using drupal_write_record()

Class

MigrateDestinationTableCopy
Destination class implementing migration into a single table.

Code

public function fields($migration = NULL) {
  return array();
}