You are here

public function ModuleStream::getDescription in System stream wrapper 8

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 ModuleStream::getDescription()
ProfileStream::getDescription in src/StreamWrapper/ProfileStream.php
Returns the description of the stream wrapper for use in the UI.

File

src/StreamWrapper/ModuleStream.php, line 46

Class

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

Namespace

Drupal\system_stream_wrapper\StreamWrapper

Code

public function getDescription() {
  return $this
    ->t('Local files stored under module directory.');
}