function DrupalDummyStreamWrapper::getDirectoryPath in Drupal 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
- modules/
simpletest/ tests/ file_test.module, line 435 - 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');
}