You are here

public function SessionStreamWrapper::getDescription in Examples for Developers 3.x

Same name and namespace in other branches
  1. 8 stream_wrapper_example/src/StreamWrapper/SessionStreamWrapper.php \Drupal\stream_wrapper_example\StreamWrapper\SessionStreamWrapper::getDescription()

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

Return value

string The stream wrapper description.

Overrides StreamWrapperInterface::getDescription

File

modules/stream_wrapper_example/src/StreamWrapper/SessionStreamWrapper.php, line 179

Class

SessionStreamWrapper
Example stream wrapper class to handle session:// streams.

Namespace

Drupal\stream_wrapper_example\StreamWrapper

Code

public function getDescription() {
  return $this
    ->t('Simulated file system using your session storage. Not for real use!');
}