You are here

public static function LocalStream::getType in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/StreamWrapper/LocalStream.php \Drupal\Core\StreamWrapper\LocalStream::getType()

Returns the type of stream wrapper.

Return value

int

Overrides StreamWrapperInterface::getType

5 methods override LocalStream::getType()
LocalReadOnlyStream::getType in core/lib/Drupal/Core/StreamWrapper/LocalReadOnlyStream.php
Returns the type of stream wrapper.
PrivateStream::getType in core/lib/Drupal/Core/StreamWrapper/PrivateStream.php
Returns the type of stream wrapper.
PublicStream::getType in core/lib/Drupal/Core/StreamWrapper/PublicStream.php
Returns the type of stream wrapper.
TemporaryStream::getType in core/lib/Drupal/Core/StreamWrapper/TemporaryStream.php
Returns the type of stream wrapper.
TranslationsStream::getType in core/modules/locale/src/StreamWrapper/TranslationsStream.php
Returns the type of stream wrapper.

File

core/lib/Drupal/Core/StreamWrapper/LocalStream.php, line 43

Class

LocalStream
Defines a Drupal stream wrapper base class for local files.

Namespace

Drupal\Core\StreamWrapper

Code

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