public static function MinificationSubscriber::getSubscribedEvents in Advanced CSS/JS Aggregation 8.3
Same name in this branch
- 8.3 advagg_ext_minify/src/EventSubscriber/MinificationSubscriber.php \Drupal\advagg_ext_minify\EventSubscriber\MinificationSubscriber::getSubscribedEvents()
- 8.3 advagg_css_minify/src/EventSubscriber/MinificationSubscriber.php \Drupal\advagg_css_minify\EventSubscriber\MinificationSubscriber::getSubscribedEvents()
- 8.3 advagg_js_minify/src/EventSubscriber/MinificationSubscriber.php \Drupal\advagg_js_minify\EventSubscriber\MinificationSubscriber::getSubscribedEvents()
- 8.3 advagg_bundler/src/EventSubscriber/MinificationSubscriber.php \Drupal\advagg_js_minify\EventSubscriber\MinificationSubscriber::getSubscribedEvents()
Same name and namespace in other branches
- 8.4 advagg_ext_minify/src/EventSubscriber/MinificationSubscriber.php \Drupal\advagg_ext_minify\EventSubscriber\MinificationSubscriber::getSubscribedEvents()
File
- advagg_ext_minify/
src/ EventSubscriber/ MinificationSubscriber.php, line 75
Class
- MinificationSubscriber
- Subscribe to asset optimization events and minify assets.
Namespace
Drupal\advagg_ext_minify\EventSubscriberCode
public static function getSubscribedEvents() {
return [
AssetOptimizationEvent::CSS => [
'minifyCss',
0,
],
AssetOptimizationEvent::JS => [
'minifyJs',
0,
],
];
}