PluginEventSubscriber
class PluginEventSubscriber implements EventSubscriberInterface (View source)
Event subscriber to forward Migrate events to source and destination plugins.
Methods
Tries to invoke event handling methods on source and destination plugins.
Forwards pre-import events to the source and destination plugins.
Forwards post-import events to the source and destination plugins.
Forwards pre-rollback events to the source and destination plugins.
Forwards post-rollback events to the source and destination plugins.
{@inheritdoc}
Details
protected
invoke(string $method, MigrateImportEvent|MigrateRollbackEvent $event, string $plugin_interface)
Tries to invoke event handling methods on source and destination plugins.
preImport(MigrateImportEvent $event)
Forwards pre-import events to the source and destination plugins.
postImport(MigrateImportEvent $event)
Forwards post-import events to the source and destination plugins.
preRollback(MigrateRollbackEvent $event)
Forwards pre-rollback events to the source and destination plugins.
postRollback(MigrateRollbackEvent $event)
Forwards post-rollback events to the source and destination plugins.
static
getSubscribedEvents()
{@inheritdoc}