function 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');
}

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