Same name in this branch
  1. 8.x-2.x advagg_mod/src/EventSubscriber/InitSubscriber.php \Drupal\advagg_mod\EventSubscriber\InitSubscriber::onEvent()
Same name in other branches
  1. 5.0.x advagg_mod/src/EventSubscriber/InitSubscriber.php \Drupal\advagg_mod\EventSubscriber\InitSubscriber::onEvent()
  2. 6.0.x advagg_mod/src/EventSubscriber/InitSubscriber.php \Drupal\advagg_mod\EventSubscriber\InitSubscriber::onEvent()
  3. 8.x-3.x advagg_mod/src/EventSubscriber/InitSubscriber.php \Drupal\advagg_mod\EventSubscriber\InitSubscriber::onEvent()
  4. 8.x-4.x advagg_mod/src/EventSubscriber/InitSubscriber.php \Drupal\advagg_mod\EventSubscriber\InitSubscriber::onEvent()

Event Response.

Fichier

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

Classe

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

Namespace

Drupal\advagg_bundler\EventSubscriber

Code

public function onEvent() {
    if (advagg_bundler_enabled()) {
        $GLOBALS['conf']['core_groups'] = FALSE;
    }
}