public static function NodeTranslationMigrateSubscriber::getSubscribedEvents in Drupal 8
Same name and namespace in other branches
- 9 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;
}