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-4.x advagg_old_ie_compatibility/src/EventSubscriber/CssSubscriber.php \Drupal\advagg_old_ie_compatibility\EventSubscriber\CssSubscriber::getSubscribedEvents()

File

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

Class

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,
        ],
    ];
}