diff --git a/migrate_plus.module b/migrate_plus.module index 6cb976c4dd4b529501874fcdba9cabecc0ed65c4..d7aa25f135140861819daa9b8f40a589551c590c 100644 --- a/migrate_plus.module +++ b/migrate_plus.module @@ -83,5 +83,5 @@ function migrate_plus_migration_plugins_alter(array &$migrations) { * Implements hook_migrate_prepare_row(). */ function migrate_plus_migrate_prepare_row(Row $row, MigrateSourceInterface $source, MigrationInterface $migration) { - \Drupal::service('event_dispatcher')->dispatch(MigrateEvents::PREPARE_ROW, new MigratePrepareRowEvent($row, $source, $migration)); + \Drupal::service('event_dispatcher')->dispatch(new MigratePrepareRowEvent($row, $source, $migration), MigrateEvents::PREPARE_ROW); }