You are here

public function MigrationInterface::interruptMigration in Drupal 9

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

Signal that the migration should be interrupted with the specified result code.

Parameters

int $result: One of the MigrationInterface::RESULT_* constants.

1 method overrides MigrationInterface::interruptMigration()
Migration::interruptMigration in core/modules/migrate/src/Plugin/Migration.php
Signal that the migration should be interrupted with the specified result code.

File

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

Class

MigrationInterface
Interface for migrations.

Namespace

Drupal\migrate\Plugin

Code

public function interruptMigration($result);