Mercurial > hg > isophonics-drupal-site
view core/modules/migrate/src/Event/RollbackAwareInterface.php @ 19:fa3358dc1485 tip
Add ndrum files
author | Chris Cannam |
---|---|
date | Wed, 28 Aug 2019 13:14:47 +0100 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
<?php namespace Drupal\migrate\Event; /** * Interface for plugins that react to pre- or post-rollback events. */ interface RollbackAwareInterface { /** * Performs pre-rollback tasks. * * @param \Drupal\migrate\Event\MigrateRollbackEvent $event * The pre-rollback event object. */ public function preRollback(MigrateRollbackEvent $event); /** * Performs post-rollback tasks. * * @param \Drupal\migrate\Event\MigrateRollbackEvent $event * The post-rollback event object. */ public function postRollback(MigrateRollbackEvent $event); }