1 stream_wrappers.inc | public BackdropTemporaryStreamWrapper::getDirectoryPath() |
Implements abstract public function getDirectoryPath()
Overrides BackdropLocalStreamWrapper::getDirectoryPath
File
- core/
includes/ stream_wrappers.inc, line 991 - Backdrop stream wrapper interface.
Class
- BackdropTemporaryStreamWrapper
- Backdrop temporary (temporary://) stream wrapper class.
Code
public function getDirectoryPath() {
$temp = config_get('system.core', 'file_temporary_path');
if (empty($temp)) {
$temp = file_directory_temp();
}
return $temp;
}