You are here

protected function MigrateUpdater::processMappings in GatherContent 8.5

1 call to MigrateUpdater::processMappings()
MigrateUpdater::updateIdMap in gathercontent_upload/src/Export/MigrateUpdater.php
Update/create Migrate API's ID Mapping.

File

gathercontent_upload/src/Export/MigrateUpdater.php, line 72

Class

MigrateUpdater
Class for handling import/update logic from GatherContent to Drupal.

Namespace

Drupal\gathercontent_upload\Export

Code

protected function processMappings(array $mapping) {
  $migrationIds = $mapping['mapping']
    ->getMigrations();
  foreach ($migrationIds as $migrationId) {
    $this
      ->processMigration($migrationId, $mapping['gcIds']);
  }
}