public static function SessionStreamWrapper::getType 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::getType()
Returns the type of stream wrapper.
Return value
int See StreamWrapperInterface for permissible values.
Overrides StreamWrapperInterface::getType
File
- modules/
stream_wrapper_example/ src/ StreamWrapper/ SessionStreamWrapper.php, line 143
Class
- SessionStreamWrapper
- Example stream wrapper class to handle session:// streams.
Namespace
Drupal\stream_wrapper_example\StreamWrapperCode
public static function getType() {
return StreamWrapperInterface::NORMAL;
}