public function TemporaryStream::getDirectoryPath

public TemporaryStream::getDirectoryPath()

Gets the path that the wrapper is responsible for.

@todo Review this method name in D8 per https://www.drupal.org/node/701358.

Return value

string String specifying the path.

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\StreamWrapper

Code

public function getDirectoryPath() {
  return file_directory_temp();
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!StreamWrapper!TemporaryStream.php/function/TemporaryStream::getDirectoryPath/8.1.x