function PublicStream::getDescription

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

Overrides StreamWrapperInterface::getDescription

2 methods override PublicStream::getDescription()
AssetsStream::getDescription in core/lib/Drupal/Core/StreamWrapper/AssetsStream.php
Returns the description of the stream wrapper for use in the UI.
DummyRemoteStreamWrapper::getDescription in core/modules/file/tests/file_test/src/StreamWrapper/DummyRemoteStreamWrapper.php
Returns the description of the stream wrapper for use in the UI.

File

core/lib/Drupal/Core/StreamWrapper/PublicStream.php, line 35

Class

PublicStream
Defines a Drupal public (public://) stream wrapper class.

Namespace

Drupal\Core\StreamWrapper

Code

public function getDescription() {
    return t('Public local files served by the webserver.');
}

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