You are here

public static function NodeTranslationMigrateSubscriber::getSubscribedEvents in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/node/src/EventSubscriber/NodeTranslationMigrateSubscriber.php \Drupal\node\EventSubscriber\NodeTranslationMigrateSubscriber::getSubscribedEvents()
  2. 10 core/modules/node/src/EventSubscriber/NodeTranslationMigrateSubscriber.php \Drupal\node\EventSubscriber\NodeTranslationMigrateSubscriber::getSubscribedEvents()

File

core/modules/node/src/EventSubscriber/NodeTranslationMigrateSubscriber.php, line 104

Class

NodeTranslationMigrateSubscriber
Creates a key value collection for migrated node translation redirections.

Namespace

Drupal\node\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events = [];
  $events[MigrateEvents::POST_ROW_SAVE] = [
    'onPostRowSave',
  ];
  $events[MigrateEvents::POST_IMPORT] = [
    'onPostImport',
  ];
  return $events;
}