PublicStream::getName

public PublicStream::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/PublicStream.php, line 28

Class

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

Namespace

Drupal\Core\StreamWrapper

Code

1
2
3
public function getName() {
  return t('Public files');
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.