public function DrupalAltStreamWrapper::getDirectoryPath in Alternative Stream Wrappers 7
Implements abstract public function getDirectoryPath()
Overrides DrupalLocalStreamWrapper::getDirectoryPath
1 call to DrupalAltStreamWrapper::getDirectoryPath()
- DrupalAltStreamWrapper::getExternalUrl in ./
alt_stream_wrappers.module - Overrides getExternalUrl().
File
- ./
alt_stream_wrappers.module, line 73 - Provides one or more configurable alternative stream wrappers for file storage.
Class
- DrupalAltStreamWrapper
- Drupal alternative stream wrapper class.
Code
public function getDirectoryPath() {
$scheme = file_uri_scheme($this->uri);
// todo: is temp a sensible default here or should it just be FALSE?
return variable_get('alt_stream_wrappers_' . $scheme . '_path', file_directory_temp());
}