You are here

public function Migration::clearInterruptionResult in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration::clearInterruptionResult()
  2. 9 core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration::clearInterruptionResult()

Clears the result to return upon interruption.

Overrides MigrationInterface::clearInterruptionResult

File

core/modules/migrate/src/Plugin/Migration.php, line 583

Class

Migration
Defines the Migration plugin.

Namespace

Drupal\migrate\Plugin

Code

public function clearInterruptionResult() {
  \Drupal::keyValue('migrate_interruption_result')
    ->delete($this
    ->id());
}