You are here

public function SourcePluginBase::postRollback in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php \Drupal\migrate\Plugin\migrate\source\SourcePluginBase::postRollback()
  2. 10 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 615

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