You are here

protected property Migration::$defaultRollbackAction in Migrate 7.2

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

The default rollback action for this migration. Can be overridden on a per-row basis by setting $row->rollbackAction in prepareRow().

Type: int

File

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

protected $defaultRollbackAction = MigrateMap::ROLLBACK_DELETE;