You are here

public function StreamWrapperManagerTest::providerTestUriScheme in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/Core/StreamWrapper/StreamWrapperManagerTest.php \Drupal\KernelTests\Core\StreamWrapper\StreamWrapperManagerTest::providerTestUriScheme()
  2. 9 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 \Drupal\Core\StreamWrapper\StreamWrapperManager @group File

Namespace

Drupal\KernelTests\Core\StreamWrapper

Code

public function providerTestUriScheme() {
  $data = [];
  $data[] = [
    'public://filename',
    'public',
  ];
  $data[] = [
    'public://extra://',
    'public',
  ];
  $data[] = [
    'invalid',
    FALSE,
  ];
  return $data;
}