function DummyRemoteReadOnlyStreamWrapper::getType

Same name and namespace in other branches
  1. 8.9.x core/modules/file/tests/file_test/src/StreamWrapper/DummyRemoteReadOnlyStreamWrapper.php \Drupal\file_test\StreamWrapper\DummyRemoteReadOnlyStreamWrapper::getType()
  2. 10 core/modules/file/tests/file_test/src/StreamWrapper/DummyRemoteReadOnlyStreamWrapper.php \Drupal\file_test\StreamWrapper\DummyRemoteReadOnlyStreamWrapper::getType()
  3. 11.x core/modules/file/tests/file_test/src/StreamWrapper/DummyRemoteReadOnlyStreamWrapper.php \Drupal\file_test\StreamWrapper\DummyRemoteReadOnlyStreamWrapper::getType()

Overrides PublicStream::getType

File

core/modules/file/tests/file_test/src/StreamWrapper/DummyRemoteReadOnlyStreamWrapper.php, line 15

Class

DummyRemoteReadOnlyStreamWrapper
Dummy read-only remote stream wrapper (dummy-remote-readonly://).

Namespace

Drupal\file_test\StreamWrapper

Code

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

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