protected function StreamWrapper::useRrs in AmazonS3 7.2
Find if the URL should be saved to Reduced Redundancy Storage.
Return value
PresignedPath|bool The matching PresignedPath if a presigned URL should be served, FALSE otherwise.
1 call to StreamWrapper::useRrs()
- StreamWrapper::getOptions in src/
StreamWrapper.php - Override getOptions() to default all files to be publicly readable.
File
- src/
StreamWrapper.php, line 437 - Drupal stream wrapper implementation for Amazon S3
Class
- StreamWrapper
- @file Drupal stream wrapper implementation for Amazon S3
Namespace
Drupal\amazons3Code
protected function useRrs() {
return $this->config
->getReducedRedundancyPaths()
->match($this
->getLocalPath());
}