You are here

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

File

src/EventSubscriber/DefaultCommandSubscriber.php, line 54

Class

DefaultCommandSubscriber
Class DefaultCommandSubscriber.

Namespace

Drupal\ga\EventSubscriber

Code

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