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

Breadcrumb

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

function MigrateRowDeleteEvent::__construct

Constructs a row deletion event object.

Parameters

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

array $destination_id_values: Values represent the destination ID.

File

core/modules/migrate/src/Event/MigrateRowDeleteEvent.php, line 35

Class

MigrateRowDeleteEvent
Wraps a row deletion event for event listeners.

Namespace

Drupal\migrate\Event

Code

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

API Navigation

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