Same name and namespace in other branches
  1. 8.9.x 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;
}