Skip to content

Commit

Permalink
Migrate runner Drupal 10 compatibility (#5080)
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiu-cristea committed Feb 21, 2022
1 parent 23d5e0f commit d41f67c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Drupal/Migrate/migrate_runner.inc
Expand Up @@ -17,7 +17,7 @@ use Drush\Drupal\Migrate\MigratePrepareRowEvent;
function system_migrate_prepare_row(Row $row, MigrateSourceInterface $source, MigrationInterface $migration): void
{
\Drupal::service('event_dispatcher')->dispatch(
new MigratePrepareRowEvent($row, $source, $migration),
MigrateEvents::DRUSH_MIGRATE_PREPARE_ROW,
new MigratePrepareRowEvent($row, $source, $migration)
);
}

0 comments on commit d41f67c

Please sign in to comment.