Skip to content
Snippets Groups Projects
Unverified Commit 8cbcd11f authored by Lucas Hedding's avatar Lucas Hedding
Browse files

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

This reverts commit 80e6c25f.
parent 80e6c25f
No related branches found
No related tags found
No related merge requests found
......@@ -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));
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment