public static function PageNotFoundEventSubscriber::getSubscribedEvents in Apigee API Catalog 8.2
Same name and namespace in other branches
- 8 src/EventSubscriber/PageNotFoundEventSubscriber.php \Drupal\apigee_api_catalog\EventSubscriber\PageNotFoundEventSubscriber::getSubscribedEvents()
File
- src/
EventSubscriber/ PageNotFoundEventSubscriber.php, line 89
Class
- PageNotFoundEventSubscriber
- Handles not found exceptions for apidoc entities.
Namespace
Drupal\apigee_api_catalog\EventSubscriberCode
public static function getSubscribedEvents() {
$events[KernelEvents::EXCEPTION][] = [
'onNotFoundException',
0,
];
return $events;
}