8.5.x SourcePluginBase.php SourcePluginBase::postRollback(MigrateRollbackEvent $event)
8.2.x SourcePluginBase.php SourcePluginBase::postRollback(MigrateRollbackEvent $event)
8.3.x SourcePluginBase.php SourcePluginBase::postRollback(MigrateRollbackEvent $event)
8.4.x SourcePluginBase.php SourcePluginBase::postRollback(MigrateRollbackEvent $event)
8.6.x SourcePluginBase.php SourcePluginBase::postRollback(MigrateRollbackEvent $event)

Performs post-rollback tasks.

Parameters

\Drupal\migrate\Event\MigrateRollbackEvent $event: The post-rollback event object.

Overrides RollbackAwareInterface::postRollback

File

core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php, line 584

Class

SourcePluginBase
The base class for source plugins.

Namespace

Drupal\migrate\Plugin\migrate\source

Code

public function postRollback(MigrateRollbackEvent $event) {

  // Reset the high-water mark.
  $this
    ->saveHighWater(NULL);
}