You are here

public function S3fsStreamWrapper::getDirectoryPath in S3 File System 7.3

Same name and namespace in other branches
  1. 7 S3fsStreamWrapper.inc \S3fsStreamWrapper::getDirectoryPath()
  2. 7.2 S3fsStreamWrapper.inc \S3fsStreamWrapper::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

./S3fsStreamWrapper.inc, line 501
Drupal stream wrapper implementation for S3 File System.

Class

S3fsStreamWrapper
The stream wrapper class.

Code

public function getDirectoryPath() {
  return '';
}