You are here

public static function MigrationEventSubscriber::getSubscribedEvents in Migrate Devel 8

Same name and namespace in other branches
  1. 8.2 src/EventSubscriber/MigrationEventSubscriber.php \Drupal\migrate_devel\EventSubscriber\MigrationEventSubscriber::getSubscribedEvents()

File

src/EventSubscriber/MigrationEventSubscriber.php, line 63

Class

MigrationEventSubscriber
MigrationEventSubscriber for Debugging Migrations.

Namespace

Drupal\migrate_devel\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[MigrateEvents::PRE_ROW_SAVE][] = [
    'debugRowPreSave',
  ];
  $events[MigrateEvents::POST_ROW_SAVE][] = [
    'debugRowPostSave',
  ];
  return $events;
}