function StreamWrapperManagerTest::providerTestUriScheme
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/Core/StreamWrapper/StreamWrapperManagerTest.php \Drupal\KernelTests\Core\StreamWrapper\StreamWrapperManagerTest::providerTestUriScheme()
- 10 core/tests/Drupal/KernelTests/Core/StreamWrapper/StreamWrapperManagerTest.php \Drupal\KernelTests\Core\StreamWrapper\StreamWrapperManagerTest::providerTestUriScheme()
- 11.x core/tests/Drupal/KernelTests/Core/StreamWrapper/StreamWrapperManagerTest.php \Drupal\KernelTests\Core\StreamWrapper\StreamWrapperManagerTest::providerTestUriScheme()
Data provider.
File
-
core/
tests/ Drupal/ KernelTests/ Core/ StreamWrapper/ StreamWrapperManagerTest.php, line 46
Class
- StreamWrapperManagerTest
- @coversDefaultClass <a href="/api/drupal/core%21lib%21Drupal%21Core%21StreamWrapper%21StreamWrapperManager.php/class/StreamWrapperManager/8.9.x" title="Provides a StreamWrapper manager." class="local">\Drupal\Core\StreamWrapper\StreamWrapperManager</a> @group File
Namespace
Drupal\KernelTests\Core\StreamWrapperCode
public function providerTestUriScheme() {
$data = [];
$data[] = [
'public://filename',
'public',
];
$data[] = [
'public://extra://',
'public',
];
$data[] = [
'invalid',
FALSE,
];
return $data;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.