You are here

public static function S3fsAdvAggSubscriber::getSubscribedEvents in S3 File System 4.0.x

Same name and namespace in other branches
  1. 8.3 src/EventSubscriber/S3fsAdvAggSubscriber.php \Drupal\s3fs\EventSubscriber\S3fsAdvAggSubscriber::getSubscribedEvents()

File

src/EventSubscriber/S3fsAdvAggSubscriber.php, line 42

Class

S3fsAdvAggSubscriber
Subscribe to asset optimization events and update assets urls.

Namespace

Drupal\s3fs\EventSubscriber

Code

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