You are here

public function PluginEventSubscriber::preRollback in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/migrate/src/Plugin/PluginEventSubscriber.php \Drupal\migrate\Plugin\PluginEventSubscriber::preRollback()

Forwards pre-rollback events to the source and destination plugins.

Parameters

\Drupal\migrate\Event\MigrateRollbackEvent $event: The rollback event.

File

core/modules/migrate/src/Plugin/PluginEventSubscriber.php, line 67

Class

PluginEventSubscriber
Event subscriber to forward Migrate events to source and destination plugins.

Namespace

Drupal\migrate\Plugin

Code

public function preRollback(MigrateRollbackEvent $event) {
  $this
    ->invoke('preRollback', $event, RollbackAwareInterface::class);
}