protected function StreamWrapper::usePresigned in AmazonS3 7.2
Find if the URL should be presigned.
Return value
PresignedPath|bool The matching PresignedPath if a presigned URL should be served, FALSE otherwise.
1 call to StreamWrapper::usePresigned()
File
- src/
StreamWrapper.php, line 426 - Drupal stream wrapper implementation for Amazon S3
Class
- StreamWrapper
- @file Drupal stream wrapper implementation for Amazon S3
Namespace
Drupal\amazons3Code
protected function usePresigned() {
return $this->config
->getPresignedPaths()
->match($this
->getLocalPath());
}