You are here

public function MigrateRowDeleteEvent::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/src/Event/MigrateRowDeleteEvent.php \Drupal\migrate\Event\MigrateRowDeleteEvent::__construct()

Constructs a row deletion event object.

Parameters

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

array $destination_id_values: Values represent the destination ID.

File

core/modules/migrate/src/Event/MigrateRowDeleteEvent.php, line 40
Contains \Drupal\migrate\Event\MigrateRowDeleteEvent.

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;
}