function DrupalDummyStreamWrapper::getDirectoryPath in SimpleTest 7
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
- tests/
file_test.module, line 337 - Helper module for the file tests.
Class
- DrupalDummyStreamWrapper
- Helper class for testing the stream wrapper registry.
Code
function getDirectoryPath() {
return variable_get('stream_public_path', 'sites/default/files');
}