function LocalStream::getType

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

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.