Mercurial > hg > isophonics-drupal-site
view core/modules/migrate/src/Event/RollbackAwareInterface.php @ 5:c69a71b4f40f
Add slideshow module
author | Chris Cannam |
---|---|
date | Thu, 07 Dec 2017 14:46:23 +0000 |
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); }