You are here

public function MigrationInterface::setStatus in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Plugin/MigrationInterface.php \Drupal\migrate\Plugin\MigrationInterface::setStatus()
  2. 10 core/modules/migrate/src/Plugin/MigrationInterface.php \Drupal\migrate\Plugin\MigrationInterface::setStatus()

Set the current migration status.

Parameters

int $status: One of the STATUS_* constants.

1 method overrides MigrationInterface::setStatus()
Migration::setStatus in core/modules/migrate/src/Plugin/Migration.php
Set the current migration status.

File

core/modules/migrate/src/Plugin/MigrationInterface.php, line 166

Class

MigrationInterface
Interface for migrations.

Namespace

Drupal\migrate\Plugin

Code

public function setStatus($status);