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

Breadcrumb

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

function MigrateIdMapMessageEvent::__construct

Constructs a post-save event object.

Parameters

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

array $source_id_values: Values represent the source ID.

string $message: The message

int $level: Severity level (one of the MigrationInterface::MESSAGE_* constants).

File

core/modules/migrate/src/Event/MigrateIdMapMessageEvent.php, line 53

Class

MigrateIdMapMessageEvent
Wraps an ID map message event for event listeners.

Namespace

Drupal\migrate\Event

Code

public function __construct(MigrationInterface $migration, array $source_id_values, $message, $level) {
    $this->migration = $migration;
    $this->sourceIdValues = $source_id_values;
    $this->message = $message;
    $this->level = $level;
}

API Navigation

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