MigratePostRowSaveEvent
class MigratePostRowSaveEvent extends MigratePreRowSaveEvent (View source)
Wraps a post-save event for event listeners.
Properties
| protected MigrationInterface | $migration | The migration. |
from EventBase |
| protected MigrateMessageInterface | $message | The current message service. |
from EventBase |
| protected Row | $row | Row object. |
from MigratePreRowSaveEvent |
| protected array|bool | $destinationIdValues | The row's destination ID. |
Methods
__construct(MigrationInterface $migration, MigrateMessageInterface $message, Row $row, array|bool $destination_id_values)
Constructs a post-save event object.
logMessage(string $message, string $type = 'status')
Logs a message using the Migrate message service.
from
EventBase
array
getDestinationIdValues()
Gets the destination ID values.
Details
__construct(MigrationInterface $migration, MigrateMessageInterface $message, Row $row, array|bool $destination_id_values)
Constructs a post-save event object.
MigrationInterface
getMigration()
Gets the migration.
logMessage(string $message, string $type = 'status')
Logs a message using the Migrate message service.
Row
getRow()
Gets the row object.
array
getDestinationIdValues()
Gets the destination ID values.