You are here

public function S3fsStream::getDirectoryPath in S3 File System 8.2

Same name and namespace in other branches
  1. 8.3 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.

File

src/StreamWrapper/S3fsStream.php, line 291

Class

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

Namespace

Drupal\s3fs\StreamWrapper

Code

public function getDirectoryPath() {
  $this
    ->_debug("getDirectoryPath() called.");
  return '';
}