Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

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

Title Deprecated Summary
RollbackAwareInterface Interface for plugins that react to pre- or post-rollback events.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal