function MigrationInterface::interruptMigration
Same name in other branches
- 8.9.x core/modules/migrate/src/Plugin/MigrationInterface.php \Drupal\migrate\Plugin\MigrationInterface::interruptMigration()
- 10 core/modules/migrate/src/Plugin/MigrationInterface.php \Drupal\migrate\Plugin\MigrationInterface::interruptMigration()
- 11.x core/modules/migrate/src/Plugin/MigrationInterface.php \Drupal\migrate\Plugin\MigrationInterface::interruptMigration()
Sets the migration status as interrupted with a given 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 - Sets the migration status as interrupted with a given result code.
File
-
core/
modules/ migrate/ src/ Plugin/ MigrationInterface.php, line 203
Class
- MigrationInterface
- Interface for migrations.
Namespace
Drupal\migrate\PluginCode
public function interruptMigration($result);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.