trait LocalHiddenStreamTrait in Libraries API 8.3
Provides a trait for local hidden streams.
Hierarchy
- trait \Drupal\libraries\StreamWrapper\LocalHiddenStreamTrait
1 file declares its use of LocalHiddenStreamTrait
- TestLibraryFilesStream.php in tests/
src/ Kernel/ ExternalLibrary/ TestLibraryFilesStream.php
File
- src/
StreamWrapper/ LocalHiddenStreamTrait.php, line 10
Namespace
Drupal\libraries\StreamWrapperView source
trait LocalHiddenStreamTrait {
/**
* Returns the type of stream wrapper.
*
* @return int
*
* @see \Drupal\Core\StreamWrapper\StreamWrapperInterface::getType()
*/
public static function getType() {
return StreamWrapperInterface::LOCAL_HIDDEN;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LocalHiddenStreamTrait:: |
public static | function | Returns the type of stream wrapper. |