function MigrationInterface::setStatus

Same name in other branches
  1. 9 core/modules/migrate/src/Plugin/MigrationInterface.php \Drupal\migrate\Plugin\MigrationInterface::setStatus()
  2. 8.9.x core/modules/migrate/src/Plugin/MigrationInterface.php \Drupal\migrate\Plugin\MigrationInterface::setStatus()
  3. 11.x 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 169

Class

MigrationInterface
Interface for migrations.

Namespace

Drupal\migrate\Plugin

Code

public function setStatus($status);

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