You are here

abstract public function MigrateDestination::import in Migrate 6.2

Same name and namespace in other branches
  1. 7.2 includes/destination.inc \MigrateDestination::import()

Derived classes must implement import(), to construct one new object (pre-pppulated using field mappings in the Migration). It is expected to call prepare and complete handlers, passing them $row (the raw data from the source).

6 methods override MigrateDestination::import()
MigrateDestinationComment::import in plugins/destinations/comment.inc
Import a single comment.
MigrateDestinationNode::import in plugins/destinations/node.inc
Import a single node.
MigrateDestinationTable::import in plugins/destinations/table.inc
Import a single row.
MigrateDestinationTableCopy::import in plugins/destinations/table_copy.inc
Import a single row.
MigrateDestinationTerm::import in plugins/destinations/term.inc
Import a single term.

... See full list

File

includes/destination.inc, line 60
Defines base for migration destinations.

Class

MigrateDestination
Abstract base class for destination handling.

Code

public abstract function import(stdClass $object, stdClass $row);