protected function StreamWrapper::getLocalPath in AmazonS3 7.2
Return the local filesystem path.
Return value
string The local path.
6 calls to StreamWrapper::getLocalPath()
- StreamWrapper::forceDownload in src/
StreamWrapper.php - Find if this URI should force a download.
- StreamWrapper::getBasename in src/
StreamWrapper.php - Return the basename for this URI.
- StreamWrapper::getExternalUrl in src/
StreamWrapper.php - StreamWrapper::usePresigned in src/
StreamWrapper.php - Find if the URL should be presigned.
- StreamWrapper::useRrs in src/
StreamWrapper.php - Find if the URL should be saved to Reduced Redundancy Storage.
File
- src/
StreamWrapper.php, line 338 - Drupal stream wrapper implementation for Amazon S3
Class
- StreamWrapper
- @file Drupal stream wrapper implementation for Amazon S3
Namespace
Drupal\amazons3Code
protected function getLocalPath() {
$path = $this->uri
->getPath();
$path = trim($path, '/');
return $path;
}