public function Migration::getInterruptionResult in Drupal 10
Same name and namespace in other branches
- 8 core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration::getInterruptionResult()
- 9 core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration::getInterruptionResult()
Get the result to return upon interruption.
Return value
int The current interruption result. Defaults to RESULT_INCOMPLETE.
Overrides MigrationInterface::getInterruptionResult
File
- core/
modules/ migrate/ src/ Plugin/ Migration.php, line 576
Class
- Migration
- Defines the Migration plugin.
Namespace
Drupal\migrate\PluginCode
public function getInterruptionResult() {
return \Drupal::keyValue('migrate_interruption_result')
->get($this
->id(), static::RESULT_INCOMPLETE);
}