You are here

public function Row::setIdMap in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Row.php \Drupal\migrate\Row::setIdMap()
  2. 10 core/modules/migrate/src/Row.php \Drupal\migrate\Row::setIdMap()

Sets the Migrate ID mappings.

Parameters

array $id_map: An array of mappings between source ID and destination ID.

File

core/modules/migrate/src/Row.php, line 371

Class

Row
Stores a row.

Namespace

Drupal\migrate

Code

public function setIdMap(array $id_map) {
  $this->idMap = $id_map;
}