You are here

function migrate_plus_migrate_prepare_row in Migrate Plus 8.5

Same name and namespace in other branches
  1. 8 migrate_plus.module \migrate_plus_migrate_prepare_row()
  2. 8.2 migrate_plus.module \migrate_plus_migrate_prepare_row()
  3. 8.3 migrate_plus.module \migrate_plus_migrate_prepare_row()
  4. 8.4 migrate_plus.module \migrate_plus_migrate_prepare_row()

Implements hook_migrate_prepare_row().

File

./migrate_plus.module, line 85
Provides enhancements for implementing and managing migrations.

Code

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));
}