You are here

public function MigratePostRowSaveEvent::__construct in Drupal 8

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

Constructs a post-save event object.

Parameters

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

\Drupal\migrate\MigrateMessageInterface $message: The message interface.

\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 33

Class

MigratePostRowSaveEvent
Wraps a post-save event for event listeners.

Namespace

Drupal\migrate\Event

Code

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