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

Breadcrumb

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

function MigrateMapSaveEvent::__construct

Constructs a migration map event object.

Parameters

\Drupal\migrate\Plugin\MigrateIdMapInterface $map: Map plugin.

array $fields: Array of fields being saved to the map.

File

core/modules/migrate/src/Event/MigrateMapSaveEvent.php, line 35

Class

MigrateMapSaveEvent
Wraps a migrate map save event for event listeners.

Namespace

Drupal\migrate\Event

Code

public function __construct(MigrateIdMapInterface $map, array $fields) {
    $this->map = $map;
    $this->fields = $fields;
}

API Navigation

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