You are here

public static function PublicStream::getType in Drupal 8

Same name and namespace in other branches
  1. 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

1 method overrides PublicStream::getType()
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\StreamWrapper

Code

public static function getType() {
  return StreamWrapperInterface::LOCAL_NORMAL;
}