function StreamWrapperInterface::getType

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

Returns the type of stream wrapper.

Return value

int

2 methods override StreamWrapperInterface::getType()
DummyExternalReadOnlyWrapper::getType in core/modules/file/tests/file_test/src/StreamWrapper/DummyExternalReadOnlyWrapper.php
Returns the type of stream wrapper.
LocalStream::getType in core/lib/Drupal/Core/StreamWrapper/LocalStream.php
Returns the type of stream wrapper.

File

core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php, line 104

Class

StreamWrapperInterface
Defines a Drupal stream wrapper extension.

Namespace

Drupal\Core\StreamWrapper

Code

public static function getType();

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