DummyRemoteReadOnlyStreamWrapper.php
Same filename in other branches
Namespace
Drupal\file_test\StreamWrapperFile
-
core/
modules/ file/ tests/ file_test/ src/ StreamWrapper/ DummyRemoteReadOnlyStreamWrapper.php
View source
<?php
namespace Drupal\file_test\StreamWrapper;
use Drupal\Core\StreamWrapper\StreamWrapperInterface;
/**
* Dummy read-only remote stream wrapper (dummy-remote-readonly://).
*/
class DummyRemoteReadOnlyStreamWrapper extends DummyRemoteStreamWrapper {
/**
* {@inheritdoc}
*/
public static function getType() {
return StreamWrapperInterface::READ_VISIBLE;
}
/**
* {@inheritdoc}
*/
public function getName() {
return t('Dummy remote read-only files');
}
/**
* {@inheritdoc}
*/
public function getDescription() {
return t('Dummy remote read-only stream wrapper for testing.');
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
DummyRemoteReadOnlyStreamWrapper | Dummy read-only remote stream wrapper (dummy-remote-readonly://). |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.