function MigrateIdMapInterface::setUpdate

Same name in other branches
  1. 9 core/modules/migrate/src/Plugin/MigrateIdMapInterface.php \Drupal\migrate\Plugin\MigrateIdMapInterface::setUpdate()
  2. 8.9.x core/modules/migrate/src/Plugin/MigrateIdMapInterface.php \Drupal\migrate\Plugin\MigrateIdMapInterface::setUpdate()
  3. 11.x core/modules/migrate/src/Plugin/MigrateIdMapInterface.php \Drupal\migrate\Plugin\MigrateIdMapInterface::setUpdate()

Sets a specified record to be updated, if it exists.

Parameters

array $source_id_values: The source identifier values of the record.

2 methods override MigrateIdMapInterface::setUpdate()
NullIdMap::setUpdate in core/modules/migrate/src/Plugin/migrate/id_map/NullIdMap.php
Sets a specified record to be updated, if it exists.
Sql::setUpdate in core/modules/migrate/src/Plugin/migrate/id_map/Sql.php
Sets a specified record to be updated, if it exists.

File

core/modules/migrate/src/Plugin/MigrateIdMapInterface.php, line 309

Class

MigrateIdMapInterface
Defines an interface for migrate ID mappings.

Namespace

Drupal\migrate\Plugin

Code

public function setUpdate(array $source_id_values);

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