public static function NodeTranslationMigrateSubscriber::getSubscribedEvents in Drupal 9
Same name and namespace in other branches
- 8 core/modules/node/src/EventSubscriber/NodeTranslationMigrateSubscriber.php \Drupal\node\EventSubscriber\NodeTranslationMigrateSubscriber::getSubscribedEvents()
- 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\EventSubscriberCode
public static function getSubscribedEvents() {
$events = [];
$events[MigrateEvents::POST_ROW_SAVE] = [
'onPostRowSave',
];
$events[MigrateEvents::POST_IMPORT] = [
'onPostImport',
];
return $events;
}