function PluginEventSubscriber::preRollback

Same name in other branches
  1. 9 core/modules/migrate/src/Plugin/PluginEventSubscriber.php \Drupal\migrate\Plugin\PluginEventSubscriber::preRollback()
  2. 10 core/modules/migrate/src/Plugin/PluginEventSubscriber.php \Drupal\migrate\Plugin\PluginEventSubscriber::preRollback()
  3. 11.x 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);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.