You are here

public function MigrateExecutable::onPostRollback in Migrate Tools 8

Same name and namespace in other branches
  1. 8.5 src/MigrateExecutable.php \Drupal\migrate_tools\MigrateExecutable::onPostRollback()
  2. 8.2 src/MigrateExecutable.php \Drupal\migrate_tools\MigrateExecutable::onPostRollback()
  3. 8.3 src/MigrateExecutable.php \Drupal\migrate_tools\MigrateExecutable::onPostRollback()
  4. 8.4 src/MigrateExecutable.php \Drupal\migrate_tools\MigrateExecutable::onPostRollback()

React to rollback completion.

Parameters

\Drupal\migrate\Event\MigrateRollbackEvent $event: The map event.

File

src/MigrateExecutable.php, line 262
Contains \Drupal\migrate_tools\MigrateExecutable.

Class

MigrateExecutable

Namespace

Drupal\migrate_tools

Code

public function onPostRollback(MigrateRollbackEvent $event) {
  $this
    ->rollbackMessage();
  $this
    ->removeListeners();
}