function 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\Plugin

Code

public function getInterruptionResult() {
  return \Drupal::keyValue('migrate_interruption_result')->get($this->id(), static::RESULT_INCOMPLETE);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.