function Row::setIdMap

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

Class

Row
Stores a row.

Namespace

Drupal\migrate

Code

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

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