You are here

public function NullDestination::import in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/src/Plugin/migrate/destination/NullDestination.php \Drupal\migrate\Plugin\migrate\destination\NullDestination::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.

Overrides MigrateDestinationInterface::import

File

core/modules/migrate/src/Plugin/migrate/destination/NullDestination.php, line 38
Contains \Drupal\migrate\Plugin\migrate\destination\NullDestination.

Class

NullDestination
Plugin annotation @MigrateDestination( id = "null", requirements_met = false )

Namespace

Drupal\migrate\Plugin\migrate\destination

Code

public function import(Row $row, array $old_destination_id_values = array()) {
}