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

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

Hierarchy

  • class \Drupal\advagg_bundler\EventSubscriber\InitSubscriber implements \Symfony\Component\EventDispatcher\EventSubscriberInterface

Expanded class hierarchy of InitSubscriber

Fichier

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

Namespace

Drupal\advagg_bundler\EventSubscriber
View source
class InitSubscriber implements EventSubscriberInterface {
    
    /**
     * {@inheritdoc}
     */
    public static function getSubscribedEvents() {
        return [
            KernelEvents::REQUEST => [
                'onEvent',
                0,
            ],
        ];
    }
    
    /**
     * Event Response.
     */
    public function onEvent() {
        if (advagg_bundler_enabled()) {
            $GLOBALS['conf']['core_groups'] = FALSE;
        }
    }

}

Members