You are here

public function StreamWrapperConfiguration::enableCaching in AmazonS3 7.2

Enable metadata caching.

File

src/StreamWrapperConfiguration.php, line 327

Class

StreamWrapperConfiguration
Class to manage S3 stream wrapper configuration.

Namespace

Drupal\amazons3

Code

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