You are here

static function NodejsSubscriber::getSubscribedEvents in Node.js integration 8

File

src/EventSubscriber/NodejsSubscriber.php, line 27

Class

NodejsSubscriber

Namespace

Drupal\nodejs\EventSubscriber

Code

static function getSubscribedEvents() {
  $events[KernelEvents::TERMINATE][] = array(
    'sendMessages',
    40,
  );
  return $events;
}