You are here

public function PrivateStream::getName in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/StreamWrapper/PrivateStream.php \Drupal\Core\StreamWrapper\PrivateStream::getName()

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

Return value

string The stream wrapper name.

Overrides StreamWrapperInterface::getName

File

core/lib/Drupal/Core/StreamWrapper/PrivateStream.php, line 26

Class

PrivateStream
Drupal private (private://) stream wrapper class.

Namespace

Drupal\Core\StreamWrapper

Code

public function getName() {
  return t('Private files');
}