You are here

public static function InitSubscriber::getSubscribedEvents in Advanced CSS/JS Aggregation 8.2

Same name in this branch
  1. 8.2 advagg_mod/src/EventSubscriber/InitSubscriber.php \Drupal\advagg_mod\EventSubscriber\InitSubscriber::getSubscribedEvents()
  2. 8.2 advagg_bundler/src/EventSubscriber/InitSubscriber.php \Drupal\advagg_bundler\EventSubscriber\InitSubscriber::getSubscribedEvents()

File

advagg_bundler/src/EventSubscriber/InitSubscriber.php, line 16

Class

InitSubscriber
Set the AdvAgg setting core_groups to FALSE if bundler is enabled.

Namespace

Drupal\advagg_bundler\EventSubscriber

Code

public static function getSubscribedEvents() {
  return [
    KernelEvents::REQUEST => [
      'onEvent',
      0,
    ],
  ];
}