You are here

public static function AjaxResponseSubscriber::getSubscribedEvents in Geolocation Field 8

Same name and namespace in other branches
  1. 8.3 src/EventSubscriber/AjaxResponseSubscriber.php \Drupal\geolocation\EventSubscriber\AjaxResponseSubscriber::getSubscribedEvents()
  2. 8.2 src/EventSubscriber/AjaxResponseSubscriber.php \Drupal\geolocation\EventSubscriber\AjaxResponseSubscriber::getSubscribedEvents()

File

src/EventSubscriber/AjaxResponseSubscriber.php, line 101

Class

AjaxResponseSubscriber
Response subscriber to handle AJAX responses.

Namespace

Drupal\geolocation\EventSubscriber

Code

public static function getSubscribedEvents() {
  return [
    KernelEvents::RESPONSE => [
      [
        'onResponse',
      ],
    ],
  ];
}