function NodeTranslationExceptionSubscriber::getSubscribedEvents
Same name in other branches
- 8.9.x core/modules/node/src/EventSubscriber/NodeTranslationExceptionSubscriber.php \Drupal\node\EventSubscriber\NodeTranslationExceptionSubscriber::getSubscribedEvents()
- 10 core/modules/node/src/EventSubscriber/NodeTranslationExceptionSubscriber.php \Drupal\node\EventSubscriber\NodeTranslationExceptionSubscriber::getSubscribedEvents()
- 11.x core/modules/node/src/EventSubscriber/NodeTranslationExceptionSubscriber.php \Drupal\node\EventSubscriber\NodeTranslationExceptionSubscriber::getSubscribedEvents()
File
-
core/
modules/ node/ src/ EventSubscriber/ NodeTranslationExceptionSubscriber.php, line 120
Class
- NodeTranslationExceptionSubscriber
- Redirect node translations that have been consolidated by migration.
Namespace
Drupal\node\EventSubscriberCode
public static function getSubscribedEvents() {
$events = [];
$events[KernelEvents::EXCEPTION] = [
'onException',
];
return $events;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.