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