class MigrateMapDeleteEvent extends Event (View source)

Wraps a migrate map delete event for event listeners.

Properties

protected MigrateIdMapInterface $map

Map plugin.

protected array $sourceId

Array of source ID fields.

Methods

__construct(MigrateIdMapInterface $map, array $source_id)

Constructs a migration map delete event object.

getMap()

Gets the map plugin.

array
getSourceId()

Gets the source ID of the item being removed from the map.

Details

__construct(MigrateIdMapInterface $map, array $source_id)

Constructs a migration map delete event object.

Parameters

MigrateIdMapInterface $map

Map plugin.

array $source_id

Array of source ID fields representing the object being deleted from the map.

MigrateIdMapInterface getMap()

Gets the map plugin.

Return Value

MigrateIdMapInterface

The map plugin that caused the event to fire.

array getSourceId()

Gets the source ID of the item being removed from the map.

Return Value

array

Array of source ID fields.