public function SessionStreamWrapper::getName in Examples for Developers 3.x
Same name and namespace in other branches
- 8 stream_wrapper_example/src/StreamWrapper/SessionStreamWrapper.php \Drupal\stream_wrapper_example\StreamWrapper\SessionStreamWrapper::getName()
Returns the name of the stream wrapper for use in the UI.
Return value
string The stream wrapper name.
Overrides StreamWrapperInterface::getName
File
- modules/
stream_wrapper_example/ src/ StreamWrapper/ SessionStreamWrapper.php, line 172
Class
- SessionStreamWrapper
- Example stream wrapper class to handle session:// streams.
Namespace
Drupal\stream_wrapper_example\StreamWrapperCode
public function getName() {
return $this
->t('Session stream wrapper example files');
}