Same name and namespace in other branches
- 8.9.x core/lib/Drupal/Core/StreamWrapper/PublicStream.php \Drupal\Core\StreamWrapper\PublicStream::getType()
- 9 core/lib/Drupal/Core/StreamWrapper/PublicStream.php \Drupal\Core\StreamWrapper\PublicStream::getType()
Returns the type of stream wrapper.
Return value
int
Overrides LocalStream::getType
2 methods override PublicStream::getType()
- AssetsStream::getType in core/
lib/ Drupal/ Core/ StreamWrapper/ AssetsStream.php - Returns the type of stream wrapper.
- DummyRemoteReadOnlyStreamWrapper::getType in core/
modules/ file/ tests/ file_test/ src/ StreamWrapper/ DummyRemoteReadOnlyStreamWrapper.php - Returns the type of stream wrapper.
File
- core/
lib/ Drupal/ Core/ StreamWrapper/ PublicStream.php, line 21
Class
- PublicStream
- Defines a Drupal public (public://) stream wrapper class.
Namespace
Drupal\Core\StreamWrapperCode
public static function getType() {
return StreamWrapperInterface::LOCAL_NORMAL;
}