protected static function StreamWrapperConfiguration::defaults in AmazonS3 7.2
Return value
array
1 call to StreamWrapperConfiguration::defaults()
- StreamWrapperConfiguration::fromConfig in src/
StreamWrapperConfiguration.php - Generate a configuration object from an array.
File
- src/
StreamWrapperConfiguration.php, line 74
Class
- StreamWrapperConfiguration
- Class to manage S3 stream wrapper configuration.
Namespace
Drupal\amazons3Code
protected static function defaults() {
$defaults = array(
'hostname' => NULL,
'bucket' => NULL,
'region' => NULL,
'torrentPaths' => new MatchablePaths(),
'presignedPaths' => new MatchablePaths(),
'saveAsPaths' => new MatchablePaths(),
'cloudFront' => FALSE,
'cloudFrontPrivateKey' => NULL,
'cloudFrontKeyPairId' => NULL,
'domain' => NULL,
'domainScheme' => 'https',
'caching' => FALSE,
'cacheLifetime' => NULL,
'reducedRedundancyPaths' => new MatchablePaths(),
);
return $defaults;
}