function MigrateMapSaveEvent::getMap

Same name in other branches
  1. 9 core/modules/migrate/src/Event/MigrateMapSaveEvent.php \Drupal\migrate\Event\MigrateMapSaveEvent::getMap()
  2. 10 core/modules/migrate/src/Event/MigrateMapSaveEvent.php \Drupal\migrate\Event\MigrateMapSaveEvent::getMap()
  3. 11.x 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;
}

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