function MigrateIdMapInterface::prepareUpdate

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

Prepares to run a full update.

Prepares this migration to run as an update - that is, in addition to un-migrated content (source records not in the map table) being imported, previously-migrated content will also be updated in place by marking all previously-imported content as ready to be re-imported.

2 methods override MigrateIdMapInterface::prepareUpdate()
NullIdMap::prepareUpdate in core/modules/migrate/src/Plugin/migrate/id_map/NullIdMap.php
Prepares to run a full update.
Sql::prepareUpdate in core/modules/migrate/src/Plugin/migrate/id_map/Sql.php
Prepares to run a full update.

File

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

Class

MigrateIdMapInterface
Defines an interface for migrate ID mappings.

Namespace

Drupal\migrate\Plugin

Code

public function prepareUpdate();

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