Unverified Commit 5bc0cb8b authored by heddn's avatar heddn
Browse files

Revert "Fixes #259 by inverting the order of arguments to the event dispatcher"

This reverts commit 80e6c25f.
parent f7c7bdff
......@@ -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(new MigratePrepareRowEvent($row, $source, $migration), MigrateEvents::PREPARE_ROW);
\Drupal::service('event_dispatcher')->dispatch(MigrateEvents::PREPARE_ROW, new MigratePrepareRowEvent($row, $source, $migration));
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment