public static function BrokenLinkSubscriber::getSubscribedEvents in Broken Link 8
Same name and namespace in other branches
- 8.3 src/EventSubscriber/BrokenLinkSubscriber.php \Drupal\broken_link\EventSubscriber\BrokenLinkSubscriber::getSubscribedEvents()
- 8.2 src/EventSubscriber/BrokenLinkSubscriber.php \Drupal\broken_link\EventSubscriber\BrokenLinkSubscriber::getSubscribedEvents()
File
- src/
EventSubscriber/ BrokenLinkSubscriber.php, line 29
Class
- BrokenLinkSubscriber
- Class BrokenLinkSubscriber.
Namespace
Drupal\broken_link\EventSubscriberCode
public static function getSubscribedEvents() {
$events['kernel.exception'] = [
'handleBrokenLink',
];
return $events;
}