function DummyStreamWrapperFileTest::streamWrapperProvider
Same name and namespace in other branches
- main core/modules/file/tests/src/Functional/DummyStreamWrapperFileTest.php \Drupal\Tests\file\Functional\DummyStreamWrapperFileTest::streamWrapperProvider()
Data provider for the stream wrapper cache control test.
File
-
core/
modules/ file/ tests/ src/ Functional/ DummyStreamWrapperFileTest.php, line 89
Class
- DummyStreamWrapperFileTest
- Tests the file uploading functions.
Namespace
Drupal\Tests\file\FunctionalCode
public static function streamWrapperProvider() : array {
return [
'dummy_public_scheme' => [
'dummy-public',
'public',
'/system/dummy-public',
],
'private_scheme' => [
'private',
'private',
'/system/files',
],
'dummy_private_scheme' => [
'dummy-private',
'private',
'/system/dummy',
],
'temporary_scheme' => [
'temporary',
'private',
'/system/temporary',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.