You are here

public function MigratePostRowSaveEvent::__construct in Zircon Profile 8

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

Constructs a post-save event object.

Parameters

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

\Drupal\migrate\Row $row: Row object.

array|bool $destination_id_values: Values represent the destination ID.

Overrides MigratePreRowSaveEvent::__construct

File

core/modules/migrate/src/Event/MigratePostRowSaveEvent.php, line 28
Contains \Drupal\migrate\Event\MigratePostRowSaveEvent.

Class

MigratePostRowSaveEvent
Wraps a post-save event for event listeners.

Namespace

Drupal\migrate\Event

Code

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