8.5.x RollbackAwareInterface.php RollbackAwareInterface::preRollback(MigrateRollbackEvent $event)
8.2.x RollbackAwareInterface.php RollbackAwareInterface::preRollback(MigrateRollbackEvent $event)
8.3.x RollbackAwareInterface.php RollbackAwareInterface::preRollback(MigrateRollbackEvent $event)
8.4.x RollbackAwareInterface.php RollbackAwareInterface::preRollback(MigrateRollbackEvent $event)
8.6.x RollbackAwareInterface.php RollbackAwareInterface::preRollback(MigrateRollbackEvent $event)

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