You are here

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

Same name in this branch
  1. 8.3 advagg_ext_minify/src/EventSubscriber/MinificationSubscriber.php \Drupal\advagg_ext_minify\EventSubscriber\MinificationSubscriber::getSubscribedEvents()
  2. 8.3 advagg_css_minify/src/EventSubscriber/MinificationSubscriber.php \Drupal\advagg_css_minify\EventSubscriber\MinificationSubscriber::getSubscribedEvents()
  3. 8.3 advagg_js_minify/src/EventSubscriber/MinificationSubscriber.php \Drupal\advagg_js_minify\EventSubscriber\MinificationSubscriber::getSubscribedEvents()
  4. 8.3 advagg_bundler/src/EventSubscriber/MinificationSubscriber.php \Drupal\advagg_js_minify\EventSubscriber\MinificationSubscriber::getSubscribedEvents()
Same name and namespace in other branches
  1. 8.4 advagg_js_minify/src/EventSubscriber/MinificationSubscriber.php \Drupal\advagg_js_minify\EventSubscriber\MinificationSubscriber::getSubscribedEvents()

File

advagg_bundler/src/EventSubscriber/MinificationSubscriber.php, line 47

Class

MinificationSubscriber
Subscribe to asset optimization events and minify assets.

Namespace

Drupal\advagg_js_minify\EventSubscriber

Code

public static function getSubscribedEvents() {
  return [
    AssetOptimizationEvent::JS => [
      'minify',
      0,
    ],
  ];
}