You are here

public static function BrokenLinkSubscriber::getSubscribedEvents in Broken Link 8

Same name and namespace in other branches
  1. 8.3 src/EventSubscriber/BrokenLinkSubscriber.php \Drupal\broken_link\EventSubscriber\BrokenLinkSubscriber::getSubscribedEvents()
  2. 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\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events['kernel.exception'] = [
    'handleBrokenLink',
  ];
  return $events;
}