abstract public function MigrateDestination::import in Migrate 7.2
Same name and namespace in other branches
- 6.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).
11 methods override MigrateDestination::import()
- MigrateDestinationComment::import in plugins/
destinations/ comment.inc - Import a single comment.
- MigrateDestinationCustomBlock::import in plugins/
destinations/ block_custom.inc - Import a single row.
- MigrateDestinationFile::import in plugins/
destinations/ file.inc - Import a single file record.
- MigrateDestinationMenu::import in plugins/
destinations/ menu.inc - Import a single row.
- MigrateDestinationMenuLinks::import in plugins/
destinations/ menu_links.inc - Import a single row.
File
- includes/
destination.inc, line 65 - Defines base for migration destinations.
Class
- MigrateDestination
- Abstract base class for destination handling.
Code
public abstract function import(stdClass $object, stdClass $row);