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

Breadcrumb

  1. Drupal Core 11.1.x
  2. MigrateRollbackEvent.php

function MigrateRollbackEvent::__construct

Constructs a rollback event object.

Parameters

\Drupal\migrate\Plugin\MigrationInterface $migration: Migration entity.

File

core/modules/migrate/src/Event/MigrateRollbackEvent.php, line 26

Class

MigrateRollbackEvent
Wraps a pre- or post-rollback event for event listeners.

Namespace

Drupal\migrate\Event

Code

public function __construct(MigrationInterface $migration) {
    $this->migration = $migration;
}

API Navigation

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