function Row::setIdMap

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

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.