Pull merge.
[yaffs-website] / web / core / modules / file / tests / file_test / src / StreamWrapper / DummyRemoteReadOnlyStreamWrapper.php
1 <?php
2
3 namespace Drupal\file_test\StreamWrapper;
4
5 use Drupal\Core\StreamWrapper\StreamWrapperInterface;
6
7 /**
8  * Dummy read-only remote stream wrapper (dummy-remote-readonly://).
9  */
10 class DummyRemoteReadOnlyStreamWrapper extends DummyRemoteStreamWrapper {
11
12   /**
13    * {@inheritdoc}
14    */
15   public static function getType() {
16     return StreamWrapperInterface::READ_VISIBLE;
17   }
18
19   /**
20    * {@inheritdoc}
21    */
22   public function getName() {
23     return t('Dummy remote read-only files');
24   }
25
26   /**
27    * {@inheritdoc}
28    */
29   public function getDescription() {
30     return t('Dummy remote read-only stream wrapper for testing.');
31   }
32
33 }