function DummyStreamWrapper::getDirectoryPath

Gets the path that the wrapper is responsible for.

@todo Review this method name in D8 per http://drupal.org/node/701358.

Return value

string String specifying the path.

Overrides LocalStream::getDirectoryPath

File

drupal/core/modules/file/tests/file_test/lib/Drupal/file_test/DummyStreamWrapper.php, line 18
Definition of Drupal\file_test\DummyStreamWrapper.

Class

DummyStreamWrapper
Helper class for testing the stream wrapper registry.

Namespace

Drupal\file_test

Code

function getDirectoryPath() {
  return variable_get('stream_public_path', 'sites/default/files');
}