public function S3fsAdvAggSubscriber::rewriteFileURI in S3 File System 8.3
Same name and namespace in other branches
- 4.0.x src/EventSubscriber/S3fsAdvAggSubscriber.php \Drupal\s3fs\EventSubscriber\S3fsAdvAggSubscriber::rewriteFileURI()
File
- src/
EventSubscriber/ S3fsAdvAggSubscriber.php, line 96
Class
- S3fsAdvAggSubscriber
- Subscribe to asset optimization events and update assets urls.
Namespace
Drupal\s3fs\EventSubscriberCode
public function rewriteFileURI($matches) {
// phpcs:enable
$reWriter = new S3fsCssOptimizer($this->configFactory);
$reWriter->rewriteFileURIBasePath = $this->rewriteFileURIBasePath;
return $reWriter
->rewriteFileURI($matches);
}