You are here

public static function StreamWrapper::setDefaultConfig in AmazonS3 7.2

Set default configuration to use when constructing a new stream wrapper.

Parameters

\Drupal\amazons3\StreamWrapperConfiguration $config:

File

src/StreamWrapper.php, line 81
Drupal stream wrapper implementation for Amazon S3

Class

StreamWrapper
@file Drupal stream wrapper implementation for Amazon S3

Namespace

Drupal\amazons3

Code

public static function setDefaultConfig(StreamWrapperConfiguration $config) {
  static::$defaultConfig = $config;
}