You are here

public static function TeamStatusWarningSubscriber::getSubscribedEvents in Apigee Edge 8

File

modules/apigee_edge_teams/src/EventSubscriber/TeamStatusWarningSubscriber.php, line 127

Class

TeamStatusWarningSubscriber
Displays a warning message on team app pages if app owner is inactive.

Namespace

Drupal\apigee_edge_teams\EventSubscriber

Code

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;
}