public function MigrationInterface::interruptMigration in Drupal 8
Same name and namespace in other branches
- 9 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()
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 197
Class
- MigrationInterface
- Interface for migrations.
Namespace
Drupal\migrate\PluginCode
public function interruptMigration($result);