class MigrateMapSaveEvent extends Event (View source)

Wraps a migrate map save event for event listeners.

Properties

protected MigrateIdMapInterface $map

Map plugin.

protected array $fields

Array of fields being saved to the map, keyed by field name.

Methods

__construct(MigrateIdMapInterface $map, array $fields)

Constructs a migration map event object.

getMap()

Gets the map plugin.

array
getFields()

Gets the fields about to be saved to the map.

Details

__construct(MigrateIdMapInterface $map, array $fields)

Constructs a migration map event object.

Parameters

MigrateIdMapInterface $map

Map plugin.

array $fields

Array of fields being saved to the map.

MigrateIdMapInterface getMap()

Gets the map plugin.

Return Value

MigrateIdMapInterface

The map plugin that caused the event to fire.

array getFields()

Gets the fields about to be saved to the map.

Return Value

array

Array of map fields, keyed by field name.