You are here

public function PublicStream::getDescription in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/StreamWrapper/PublicStream.php \Drupal\Core\StreamWrapper\PublicStream::getDescription()
  2. 10 core/lib/Drupal/Core/StreamWrapper/PublicStream.php \Drupal\Core\StreamWrapper\PublicStream::getDescription()

Returns the description of the stream wrapper for use in the UI.

Return value

string The stream wrapper description.

Overrides StreamWrapperInterface::getDescription

1 method overrides PublicStream::getDescription()
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.');
}