public function S3fsFileService::uriScheme in S3 File System 8.3
Same name and namespace in other branches
- 4.0.x src/S3fsFileService.php \Drupal\s3fs\S3fsFileService::uriScheme()
@todo Remove when Drupal 8.9 support ends.
Overrides FileSystemInterface::uriScheme
File
- src/
S3fsFileService.php, line 188
Class
- S3fsFileService
- Provides helpers to operate on files and stream wrappers.
Namespace
Drupal\s3fsCode
public function uriScheme($uri) {
if (method_exists($this->decorated, 'uriScheme')) {
return $this->decorated
->uriScheme($uri);
}
else {
@trigger_error('S3FS: FileSystem::uriScheme() has been removed in core. Use \\Drupal\\Core\\StreamWrapper\\StreamWrapperManagerInterface::getScheme() instead. See https://www.drupal.org/node/3035273', E_USER_ERROR);
}
}