function TemporaryStream::getDirectoryPath
Same name in other branches
- 9 core/lib/Drupal/Core/StreamWrapper/TemporaryStream.php \Drupal\Core\StreamWrapper\TemporaryStream::getDirectoryPath()
- 8.9.x core/lib/Drupal/Core/StreamWrapper/TemporaryStream.php \Drupal\Core\StreamWrapper\TemporaryStream::getDirectoryPath()
- 10 core/lib/Drupal/Core/StreamWrapper/TemporaryStream.php \Drupal\Core\StreamWrapper\TemporaryStream::getDirectoryPath()
Overrides LocalStream::getDirectoryPath
File
-
core/
lib/ Drupal/ Core/ StreamWrapper/ TemporaryStream.php, line 39
Class
- TemporaryStream
- Defines a Drupal temporary (temporary://) stream wrapper class.
Namespace
Drupal\Core\StreamWrapperCode
public function getDirectoryPath() {
return \Drupal::service('file_system')->getTempDirectory();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.