function RollbackAwareInterface::preRollback

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

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

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