public static function DeveloperStatusWarningSubscriber::getSubscribedEvents in Apigee Edge 8
File
- src/
EventSubscriber/ DeveloperStatusWarningSubscriber.php, line 152
Class
- DeveloperStatusWarningSubscriber
- Displays a warning message on developer app pages if app owner is inactive.
Namespace
Drupal\apigee_edge\EventSubscriberCode
public static function getSubscribedEvents() {
// We had to increase the weight to get the current route and not the
// referer.
$events[KernelEvents::RESPONSE][] = [
'onRespond',
5,
];
return $events;
}