function DummyExternalReadOnlyWrapper::getType
Same name and namespace in other branches
- 9 core/modules/file/tests/file_test/src/StreamWrapper/DummyExternalReadOnlyWrapper.php \Drupal\file_test\StreamWrapper\DummyExternalReadOnlyWrapper::getType()
- 10 core/modules/file/tests/file_test/src/StreamWrapper/DummyExternalReadOnlyWrapper.php \Drupal\file_test\StreamWrapper\DummyExternalReadOnlyWrapper::getType()
Returns the type of stream wrapper.
Return value
int The type of stream wrapper. This should be one of the constants in this class.
Overrides StreamWrapperInterface::getType
File
-
core/
modules/ file/ tests/ file_test/ src/ StreamWrapper/ DummyExternalReadOnlyWrapper.php, line 20
Class
- DummyExternalReadOnlyWrapper
- Helper class for testing the stream wrapper registry.
Namespace
Drupal\file_test\StreamWrapperCode
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.