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

Breadcrumb

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

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

API Navigation

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