You are here

constant Migration::SOURCE in Migrate 6.2

Same name and namespace in other branches
  1. 7.2 includes/migration.inc \Migration::SOURCE

Indicate whether the primary system of record for this migration is the source, or the destination (Drupal). In the source case, migration of an existing object will completely replace the Drupal object with data from the source side. In the destination case, the existing Drupal object will be loaded, then changes from the source applied; also, rollback will not be supported.

File

includes/migration.inc, line 56
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

const SOURCE = 1;