You are here

public static function AnalyticsSubscriber::getSubscribedEvents in Googalytics - Google Analytics 8

File

modules/ga_tokens/src/EventSubscriber/AnalyticsSubscriber.php, line 35

Class

AnalyticsSubscriber
Class DefaultCommandSubscriber.

Namespace

Drupal\ga_tokens\EventSubscriber

Code

public static function getSubscribedEvents() {
  return [
    AnalyticsEvents::COLLECT => [
      [
        'onCollectGlobalProperties',
      ],
    ],
  ];
}