public function Migration::getInterruptionResult in Drupal 8
Same name and namespace in other branches
- 9 core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration::getInterruptionResult()
- 10 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 514
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);
}