public function SessionStreamWrapper::getDescription in Examples for Developers 8
Same name and namespace in other branches
- 3.x modules/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
- stream_wrapper_example/
src/ StreamWrapper/ SessionStreamWrapper.php, line 179
Class
- SessionStreamWrapper
- Example stream wrapper class to handle session:// streams.
Namespace
Drupal\stream_wrapper_example\StreamWrapperCode
public function getDescription() {
return $this
->t('Simulated file system using your session storage. Not for real use!');
}