You are here

public function S3fsStream::getDirectoryPath in S3 File System 8.3

Same name and namespace in other branches
  1. 8.2 src/StreamWrapper/S3fsStream.php \Drupal\s3fs\StreamWrapper\S3fsStream::getDirectoryPath()
  2. 4.0.x src/StreamWrapper/S3fsStream.php \Drupal\s3fs\StreamWrapper\S3fsStream::getDirectoryPath()

Gets the path that the wrapper is responsible for.

This function isn't part of DrupalStreamWrapperInterface, but the rest of Drupal calls it as if it were, so we need to define it.

Return value

string The empty string. Since this is a remote stream wrapper, it has no directory path.

See also

\Drupal\Core\File\LocalStream::getDirectoryPath()

File

src/StreamWrapper/S3fsStream.php, line 313

Class

S3fsStream
Defines a Drupal s3 (s3://) stream wrapper class.

Namespace

Drupal\s3fs\StreamWrapper

Code

public function getDirectoryPath() {
  return '';
}