You are here

public function MigrateMapDeleteEvent::getMap in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Event/MigrateMapDeleteEvent.php \Drupal\migrate\Event\MigrateMapDeleteEvent::getMap()
  2. 9 core/modules/migrate/src/Event/MigrateMapDeleteEvent.php \Drupal\migrate\Event\MigrateMapDeleteEvent::getMap()

Gets the map plugin.

Return value

\Drupal\migrate\Plugin\MigrateIdMapInterface The map plugin that caused the event to fire.

File

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

Class

MigrateMapDeleteEvent
Wraps a migrate map delete event for event listeners.

Namespace

Drupal\migrate\Event

Code

public function getMap() {
  return $this->map;
}