You are here

public function Migration::clearInterruptionResult in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/src/Entity/Migration.php \Drupal\migrate\Entity\Migration::clearInterruptionResult()

Clears the result to return upon interruption.

Overrides MigrationInterface::clearInterruptionResult

File

core/modules/migrate/src/Entity/Migration.php, line 449
Contains \Drupal\migrate\Entity\Migration.

Class

Migration
Defines the Migration entity.

Namespace

Drupal\migrate\Entity

Code

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