You are here

abstract public function LocalStream::getDirectoryPath in Drupal 9

Same name and namespace in other branches
  1. 8 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
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 55

Class

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

Namespace

Drupal\Core\StreamWrapper

Code

public abstract function getDirectoryPath();