Same name and namespace in other branches
  1. 8.9.x core/modules/migrate/src/Event/RollbackAwareInterface.php \Drupal\migrate\Event\RollbackAwareInterface::preRollback()
  2. 9 core/modules/migrate/src/Event/RollbackAwareInterface.php \Drupal\migrate\Event\RollbackAwareInterface::preRollback()

Performs pre-rollback tasks.

Parameters

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

1 method overrides RollbackAwareInterface::preRollback()
SourcePluginBase::preRollback in core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php
Performs pre-rollback tasks.

File

core/modules/migrate/src/Event/RollbackAwareInterface.php, line 16

Class

RollbackAwareInterface
Interface for plugins that react to pre- or post-rollback events.

Namespace

Drupal\migrate\Event

Code

public function preRollback(MigrateRollbackEvent $event);