You are here

public static function LocalStream::getType in Zircon Profile 8.0

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

Returns the type of stream wrapper.

Return value

int

Overrides StreamWrapperInterface::getType

4 methods override LocalStream::getType()
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 48
Contains \Drupal\Core\StreamWrapper\LocalStream.

Class

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

Namespace

Drupal\Core\StreamWrapper

Code

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