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::preRollback()
  2. 9 core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php \Drupal\migrate\Plugin\migrate\source\SourcePluginBase::preRollback()

Performs pre-rollback tasks.

Parameters

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

Overrides RollbackAwareInterface::preRollback

File

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

Class

SourcePluginBase
The base class for source plugins.

Namespace

Drupal\migrate\Plugin\migrate\source

Code

public function preRollback(MigrateRollbackEvent $event) {

  // Nothing to do in this implementation.
}