function Migration::getStatus

Same name and namespace in other branches
  1. 11.x core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration::getStatus()

File

core/modules/migrate/src/Plugin/Migration.php, line 556

Class

Migration
Defines the Migration plugin.

Namespace

Drupal\migrate\Plugin

Code

public function getStatus() {
  return \Drupal::keyValue('migrate_status')->get($this->id(), static::STATUS_IDLE);
}

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