function LocalStream::getDirectoryPath

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/StreamWrapper/LocalStream.php \Drupal\Core\StreamWrapper\LocalStream::getDirectoryPath()
  2. 10 core/lib/Drupal/Core/StreamWrapper/LocalStream.php \Drupal\Core\StreamWrapper\LocalStream::getDirectoryPath()
  3. 9 core/lib/Drupal/Core/StreamWrapper/LocalStream.php \Drupal\Core\StreamWrapper\LocalStream::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.

2 calls to LocalStream::getDirectoryPath()
LocalStream::getLocalPath in core/lib/Drupal/Core/StreamWrapper/LocalStream.php
Returns the canonical absolute path of the URI, if possible.
LocalStream::mkdir in core/lib/Drupal/Core/StreamWrapper/LocalStream.php
Support for mkdir().

File

core/lib/Drupal/Core/StreamWrapper/LocalStream.php, line 55

Class

LocalStream
Defines a Drupal stream wrapper base class for local files.

Namespace

Drupal\Core\StreamWrapper

Code

abstract public function getDirectoryPath();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.