Chris@0: map = $map; Chris@0: $this->sourceId = $source_id; Chris@0: } Chris@0: Chris@0: /** Chris@0: * Gets the map plugin. Chris@0: * Chris@0: * @return \Drupal\migrate\Plugin\MigrateIdMapInterface Chris@0: * The map plugin that caused the event to fire. Chris@0: */ Chris@0: public function getMap() { Chris@0: return $this->map; Chris@0: } Chris@0: Chris@0: /** Chris@0: * Gets the source ID of the item being removed from the map. Chris@0: * Chris@0: * @return array Chris@0: * Array of source ID fields. Chris@0: */ Chris@0: public function getSourceId() { Chris@0: return $this->sourceId; Chris@0: } Chris@0: Chris@0: }