You are here

public function Migration::setSource in Migrate 7.2

File

includes/migration.inc, line 29
Defines the base class for import/rollback processes.

Class

Migration
The base class for all import objects. This is where most of the smarts of the migrate module resides. Migrations are created by deriving from this class, and in the constructor (after calling parent::__construct()) initializing at a minimum the name,…

Code

public function setSource(MigrateSource $source) {
  $this->source = $source;
}