function MigrateMapDeleteEvent::__construct

Same name and namespace in other branches
  1. 11.x core/modules/migrate/src/Event/MigrateMapDeleteEvent.php \Drupal\migrate\Event\MigrateMapDeleteEvent::__construct()
  2. 10 core/modules/migrate/src/Event/MigrateMapDeleteEvent.php \Drupal\migrate\Event\MigrateMapDeleteEvent::__construct()
  3. 9 core/modules/migrate/src/Event/MigrateMapDeleteEvent.php \Drupal\migrate\Event\MigrateMapDeleteEvent::__construct()
  4. 8.9.x core/modules/migrate/src/Event/MigrateMapDeleteEvent.php \Drupal\migrate\Event\MigrateMapDeleteEvent::__construct()

Constructs a migration map delete event object.

Parameters

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

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

File

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

Class

MigrateMapDeleteEvent
Wraps a migrate map delete event for event listeners.

Namespace

Drupal\migrate\Event

Code

public function __construct(protected MigrateIdMapInterface $map, protected array $sourceId) {
}

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