You are here

public function MigrateDestinationTableCopy::__construct in Migrate 7.2

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

Null constructor

Overrides MigrateDestination::__construct

File

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

Class

MigrateDestinationTableCopy
Destination class implementing migration into a single table.

Code

public function __construct($tableName, $keySchema) {
  parent::__construct();
  $this->tableName = $tableName;
  $this->keySchema = $keySchema;
}