You are here

public static function BrightcoveProxyInitSubscriber::getSubscribedEvents in Brightcove Video Connect 8

Same name and namespace in other branches
  1. 8.2 modules/brightcove_proxy/src/EventSubscriber/BrightcoveProxyInitSubscriber.php \Drupal\brightcove_proxy\EventSubscriber\BrightcoveProxyInitSubscriber::getSubscribedEvents()
  2. 3.x modules/brightcove_proxy/src/EventSubscriber/BrightcoveProxyInitSubscriber.php \Drupal\brightcove_proxy\EventSubscriber\BrightcoveProxyInitSubscriber::getSubscribedEvents()

File

modules/brightcove_proxy/src/EventSubscriber/BrightcoveProxyInitSubscriber.php, line 54

Class

BrightcoveProxyInitSubscriber
Subscribes to Drupal initialization event.

Namespace

Drupal\brightcove_proxy\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[KernelEvents::REQUEST][] = [
    'initializeBrightcoveClientProxy',
  ];
  return $events;
}