function RollbackAwareInterface::preRollback
Same name in other branches
- 9 core/modules/migrate/src/Event/RollbackAwareInterface.php \Drupal\migrate\Event\RollbackAwareInterface::preRollback()
- 8.9.x core/modules/migrate/src/Event/RollbackAwareInterface.php \Drupal\migrate\Event\RollbackAwareInterface::preRollback()
- 10 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\EventCode
public function preRollback(MigrateRollbackEvent $event);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.