You are here

public static function AjaxResponseSubscriber::getSubscribedEvents in Core Views Facets 8

File

src/EventSubscriber/AjaxResponseSubscriber.php, line 103

Class

AjaxResponseSubscriber
Response subscriber to handle AJAX responses.

Namespace

Drupal\core_views_facets\EventSubscriber

Code

public static function getSubscribedEvents() {

  // Run before main_content_view_subscriber.
  return [
    KernelEvents::RESPONSE => [
      [
        'onResponse',
        1,
      ],
    ],
  ];
}