You are here

public function ModuleStream::getName in System stream wrapper 8

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

Return value

string The stream wrapper name.

Overrides StreamWrapperInterface::getName

1 method overrides ModuleStream::getName()
ProfileStream::getName in src/StreamWrapper/ProfileStream.php
Returns the name of the stream wrapper for use in the UI.

File

src/StreamWrapper/ModuleStream.php, line 39

Class

ModuleStream
Defines the read-only module:// stream wrapper for module files.

Namespace

Drupal\system_stream_wrapper\StreamWrapper

Code

public function getName() {
  return $this
    ->t('Module files');
}