You are here

public static function MigrateUpgradeImportBatch::onMapSave in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate_drupal_ui/src/Batch/MigrateUpgradeImportBatch.php \Drupal\migrate_drupal_ui\Batch\MigrateUpgradeImportBatch::onMapSave()

Counts up any map save events.

Parameters

\Drupal\migrate\Event\MigrateMapSaveEvent $event: The map event.

File

core/modules/migrate_drupal_ui/src/Batch/MigrateUpgradeImportBatch.php, line 336

Class

MigrateUpgradeImportBatch
Runs a single migration batch.

Namespace

Drupal\migrate_drupal_ui\Batch

Code

public static function onMapSave(MigrateMapSaveEvent $event) {
  static::$numProcessed++;
}