function LocalStream::getDirectoryPath

Same name in other branches
  1. 9 core/lib/Drupal/Core/StreamWrapper/LocalStream.php \Drupal\Core\StreamWrapper\LocalStream::getDirectoryPath()
  2. 8.9.x core/lib/Drupal/Core/StreamWrapper/LocalStream.php \Drupal\Core\StreamWrapper\LocalStream::getDirectoryPath()
  3. 11.x core/lib/Drupal/Core/StreamWrapper/LocalStream.php \Drupal\Core\StreamWrapper\LocalStream::getDirectoryPath()

Gets the path that the wrapper is responsible for.

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
Create a directory.
6 methods override LocalStream::getDirectoryPath()
DummyReadOnlyStreamWrapper::getDirectoryPath in core/modules/file/tests/file_test/src/StreamWrapper/DummyReadOnlyStreamWrapper.php
Gets the path that the wrapper is responsible for.
DummyStreamWrapper::getDirectoryPath in core/modules/file/tests/file_test/src/StreamWrapper/DummyStreamWrapper.php
Gets the path that the wrapper is responsible for.
PrivateStream::getDirectoryPath in core/lib/Drupal/Core/StreamWrapper/PrivateStream.php
Gets the path that the wrapper is responsible for.
PublicStream::getDirectoryPath in core/lib/Drupal/Core/StreamWrapper/PublicStream.php
Gets the path that the wrapper is responsible for.
TemporaryStream::getDirectoryPath in core/lib/Drupal/Core/StreamWrapper/TemporaryStream.php
Gets the path that the wrapper is responsible for.

... See full list

File

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

Class

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

Namespace

Drupal\Core\StreamWrapper

Code

public abstract function getDirectoryPath();

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