You are here

public function MigrateMapSaveEvent::getMap in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Event/MigrateMapSaveEvent.php \Drupal\migrate\Event\MigrateMapSaveEvent::getMap()
  2. 9 core/modules/migrate/src/Event/MigrateMapSaveEvent.php \Drupal\migrate\Event\MigrateMapSaveEvent::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/MigrateMapSaveEvent.php, line 46

Class

MigrateMapSaveEvent
Wraps a migrate map save event for event listeners.

Namespace

Drupal\migrate\Event

Code

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