Same filename and directory in other branches
  1. 8.9.x core/modules/migrate/src/Event/RollbackAwareInterface.php
  2. 9 core/modules/migrate/src/Event/RollbackAwareInterface.php

Namespace

Drupal\migrate\Event

File

core/modules/migrate/src/Event/RollbackAwareInterface.php
View 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);

}

Interfaces

Namesort descending Description
RollbackAwareInterface Interface for plugins that react to pre- or post-rollback events.