You are here

public function MigrationInterface::interruptMigration in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/src/Entity/MigrationInterface.php \Drupal\migrate\Entity\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/Entity/Migration.php
Signal that the migration should be interrupted with the specified result code.

File

core/modules/migrate/src/Entity/MigrationInterface.php, line 213
Contains \Drupal\migrate\Entity\MigrationInterface.

Class

MigrationInterface
Interface for migrations.

Namespace

Drupal\migrate\Entity

Code

public function interruptMigration($result);