function DrupalDummyStreamWrapper::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 specifying the path.

Overrides DrupalLocalStreamWrapper::getDirectoryPath

File

modules/simpletest/tests/file_test.module, line 435

Class

DrupalDummyStreamWrapper
Helper class for testing the stream wrapper registry.

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.