function Migration::setStatus
Same name in other branches
- 8.9.x core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration::setStatus()
- 10 core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration::setStatus()
- 11.x core/modules/migrate/src/Plugin/Migration.php \Drupal\migrate\Plugin\Migration::setStatus()
Overrides MigrationInterface::setStatus
1 call to Migration::setStatus()
- Migration::interruptMigration in core/
modules/ migrate/ src/ Plugin/ Migration.php - Sets the migration status as interrupted with a given result code.
File
-
core/
modules/ migrate/ src/ Plugin/ Migration.php, line 549
Class
- Migration
- Defines the Migration plugin.
Namespace
Drupal\migrate\PluginCode
public function setStatus($status) {
\Drupal::keyValue('migrate_status')->set($this->id(), $status);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.