You are here

public static function CssSubscriber::getSubscribedEvents in Advanced CSS/JS Aggregation 8.3

Same name and namespace in other branches
  1. 8.4 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,
    ],
  ];
}