public function Migration::clearInterruptionResult in Drupal 9
Same name and namespace in other branches
- 8 core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration::clearInterruptionResult()
- 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 506
Class
- Migration
- Defines the Migration plugin.
Namespace
Drupal\migrate\PluginCode
public function clearInterruptionResult() {
\Drupal::keyValue('migrate_interruption_result')
->delete($this
->id());
}