function DummyDestination::import

Same name in other branches
  1. 9 core/modules/migrate/tests/modules/migrate_events_test/src/Plugin/migrate/destination/DummyDestination.php \Drupal\migrate_events_test\Plugin\migrate\destination\DummyDestination::import()
  2. 8.9.x core/modules/migrate/tests/modules/migrate_events_test/src/Plugin/migrate/destination/DummyDestination.php \Drupal\migrate_events_test\Plugin\migrate\destination\DummyDestination::import()
  3. 11.x core/modules/migrate/tests/modules/migrate_events_test/src/Plugin/migrate/destination/DummyDestination.php \Drupal\migrate_events_test\Plugin\migrate\destination\DummyDestination::import()

Overrides MigrateDestinationInterface::import

File

core/modules/migrate/tests/modules/migrate_events_test/src/Plugin/migrate/destination/DummyDestination.php, line 36

Class

DummyDestination
Migration dummy destination.

Namespace

Drupal\migrate_events_test\Plugin\migrate\destination

Code

public function import(Row $row, array $old_destination_id_values = []) {
    return [
        'value' => $row->getDestinationProperty('value'),
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.