public function MigrateDestinationInterface::import in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/migrate/src/Plugin/MigrateDestinationInterface.php \Drupal\migrate\Plugin\MigrateDestinationInterface::import()
Import the row.
Derived classes must implement import(), to construct one new object (pre-populated) using ID mappings in the Migration.
Parameters
\Drupal\migrate\Row $row: The row object.
array $old_destination_id_values: The old destination ids.
Return value
mixed The entity id or an indication of success.
10 methods override MigrateDestinationInterface::import()
- BlockedIP::import in core/
modules/ ban/ src/ Plugin/ migrate/ destination/ BlockedIp.php - Import the row.
- ComponentEntityDisplayBase::import in core/
modules/ migrate/ src/ Plugin/ migrate/ destination/ ComponentEntityDisplayBase.php - Import the row.
- Config::import in core/
modules/ migrate/ src/ Plugin/ migrate/ destination/ Config.php - Import the row.
- DummyDestination::import in core/
modules/ migrate/ tests/ modules/ migrate_events_test/ src/ Plugin/ migrate/ destination/ DummyDestination.php - Import the row.
- EntityConfigBase::import in core/
modules/ migrate/ src/ Plugin/ migrate/ destination/ EntityConfigBase.php - Import the row.
File
- core/
modules/ migrate/ src/ Plugin/ MigrateDestinationInterface.php, line 72 - Contains \Drupal\migrate\Plugin\MigrateDestinationInterface.
Class
- MigrateDestinationInterface
- Destinations are responsible for persisting source data into the destination Drupal.
Namespace
Drupal\migrate\PluginCode
public function import(Row $row, array $old_destination_id_values = array());