public function Migration::setUpdate in Migrate 7.2
Same name and namespace in other branches
- 6.2 includes/migration.inc \Migration::setUpdate()
Set the specified row to be updated, if it exists.
File
- includes/
migration.inc, line 1682 - 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 setUpdate(array $source_key = NULL) {
if (!$source_key) {
$source_key = $this
->currentSourceKey();
}
$this->map
->setUpdate($source_key);
}