You are here

public function Migration::clearInterruptionResult in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration::clearInterruptionResult()
  2. 10 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 521

Class

Migration
Defines the Migration plugin.

Namespace

Drupal\migrate\Plugin

Code

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