Same name in other branches
  1. 5.0.x advagg_old_ie_compatibility/src/EventSubscriber/CssSubscriber.php \Drupal\advagg_old_ie_compatibility\EventSubscriber\CssSubscriber::getSubscribedEvents()
  2. 8.x-3.x advagg_old_ie_compatibility/src/EventSubscriber/CssSubscriber.php \Drupal\advagg_old_ie_compatibility\EventSubscriber\CssSubscriber::getSubscribedEvents()

Fichier

advagg_old_ie_compatibility/src/EventSubscriber/CssSubscriber.php, line 33

Classe

CssSubscriber
Subscribe to CSs asset optimization events and count selectors.

Namespace

Drupal\advagg_old_ie_compatibility\EventSubscriber

Code

public static function getSubscribedEvents() {
    return [
        AssetOptimizationEvent::CSS => [
            'scan',
            100,
        ],
    ];
}