You are here

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

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

File

src/EventSubscriber/BrightcoveInitSubscriber.php, line 28

Class

BrightcoveInitSubscriber
Subscribes to Drupal initialization event.

Namespace

Drupal\brightcove\EventSubscriber

Code

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