public function MigrateUpdater::updateIdMap in GatherContent 8.5
Update/create Migrate API's ID Mapping.
Parameters
array $context: Batch context.
File
- gathercontent_upload/
src/ Export/ MigrateUpdater.php, line 62
Class
- MigrateUpdater
- Class for handling import/update logic from GatherContent to Drupal.
Namespace
Drupal\gathercontent_upload\ExportCode
public function updateIdMap(array $context = []) {
if (empty($context['results']['mappings'])) {
return;
}
foreach ($context['results']['mappings'] as $mapping) {
$this
->processMappings($mapping);
}
}