You are here

public static function GoogleAnalyticResponseSubscriber::getSubscribedEvents in Multidomain Google Analytics 8

Same name and namespace in other branches
  1. 8.2 src/EventSubscriber/GoogleAnalyticResponseSubscriber.php \Drupal\multidomain_google_analytics\EventSubscriber\GoogleAnalyticResponseSubscriber::getSubscribedEvents()

File

src/EventSubscriber/GoogleAnalyticResponseSubscriber.php, line 111

Class

GoogleAnalyticResponseSubscriber
Class GoogleAnalyticResponseSubscriber.

Namespace

Drupal\multidomain_google_analytics\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[KernelEvents::RESPONSE][] = [
    'addTag',
    -500,
  ];
  return $events;
}