function MigratePostRowSaveEvent::__construct

Same name in other branches
  1. 8.9.x core/modules/migrate/src/Event/MigratePostRowSaveEvent.php \Drupal\migrate\Event\MigratePostRowSaveEvent::__construct()
  2. 10 core/modules/migrate/src/Event/MigratePostRowSaveEvent.php \Drupal\migrate\Event\MigratePostRowSaveEvent::__construct()
  3. 11.x 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.