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()

Gets the path that the wrapper is responsible for.

Return value

string String specifying the path.

3 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.
TranslationsStream::getDirectoryPath in core/modules/locale/src/StreamWrapper/TranslationsStream.php
Gets the path that the wrapper is responsible for.

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

abstract public function getDirectoryPath();

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