You are here

protected function Migration::currentSourceKey in Migrate 7.2

Fetch the key array for the current source record.

Return value

array

4 calls to Migration::currentSourceKey()
Migration::handleSourceMigration in includes/migration.inc
Look up a value migrated in another migration.
Migration::import in includes/migration.inc
Perform an import operation - migrate items from source to destination.
Migration::saveMessage in includes/migration.inc
Pass messages through to the map class.
Migration::setUpdate in includes/migration.inc
Set the specified row to be updated, if it exists.

File

includes/migration.inc, line 997
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 function currentSourceKey() {
  return $this->source
    ->getCurrentKey();
}