You are here

public function StreamWrapperConfiguration::serveWithCloudFront in AmazonS3 7.2

Set if objects should be served with CloudFront.

File

src/StreamWrapperConfiguration.php, line 247

Class

StreamWrapperConfiguration
Class to manage S3 stream wrapper configuration.

Namespace

Drupal\amazons3

Code

public function serveWithCloudFront() {
  $this->data['cloudFront'] = TRUE;
}