You are here

public function StreamWrapperConfiguration::disableCaching in AmazonS3 7.2

Disable metadata caching.

File

src/StreamWrapperConfiguration.php, line 334

Class

StreamWrapperConfiguration
Class to manage S3 stream wrapper configuration.

Namespace

Drupal\amazons3

Code

public function disableCaching() {
  $this->data['caching'] = FALSE;
  $this->data['expiration'] = NULL;
}