You are here

public function Row::setIdMap in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Row.php \Drupal\migrate\Row::setIdMap()
  2. 9 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 372

Class

Row
Stores a row.

Namespace

Drupal\migrate

Code

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