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

Breadcrumb

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

function MigrateMapDeleteEvent::__construct

Constructs a migration map delete event object.

Parameters

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

array $source_id: Array of source ID fields representing the object being deleted from the map.

File

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

Class

MigrateMapDeleteEvent
Wraps a migrate map delete event for event listeners.

Namespace

Drupal\migrate\Event

Code

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

API Navigation

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