Same name and namespace in other branches
  1. 8.9.x core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php \Drupal\migrate\Plugin\migrate\source\SourcePluginBase::postRollback()
  2. 9 core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php \Drupal\migrate\Plugin\migrate\source\SourcePluginBase::postRollback()

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 623

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);
}