protected function S3fsStream::_get_options in S3 File System 8.2
Get the stream context options available to the current stream.
Return value
array
2 calls to S3fsStream::_get_options()
- S3fsStream::_get_option in src/
StreamWrapper/ S3fsStream.php - Get a specific stream context option.
- S3fsStream::_get_params in src/
StreamWrapper/ S3fsStream.php - Get the Command parameters for the specified URI.
File
- src/
StreamWrapper/ S3fsStream.php, line 1359
Class
- S3fsStream
- Defines a Drupal s3fs (s3fs://) stream wrapper class.
Namespace
Drupal\s3fs\StreamWrapperCode
protected function _get_options() {
$context = isset($this->context) ? $this->context : stream_context_get_default();
$options = stream_context_get_options($context);
return isset($options['s3']) ? $options['s3'] : [];
}