You are here

public function MigrateDestinationTable::__construct in Migrate 7.2

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

Null constructor

Overrides MigrateDestination::__construct

1 call to MigrateDestinationTable::__construct()
MigrateDestinationRole::__construct in plugins/destinations/user.inc
Null constructor
1 method overrides MigrateDestinationTable::__construct()
MigrateDestinationRole::__construct in plugins/destinations/user.inc
Null constructor

File

plugins/destinations/table.inc, line 28
Support for tables defined through the Schema API.

Class

MigrateDestinationTable
Destination class implementing migration into a single table defined through the Schema API.

Code

public function __construct($table_name) {
  $this->schema = drupal_get_schema($table_name);
  $this->tableName = $table_name;
}