function FileSystemDeprecationTest::providerTestUriScheme

File

core/tests/Drupal/KernelTests/Core/File/FileSystemDeprecationTest.php, line 239

Class

FileSystemDeprecationTest
Tests deprecations in file.inc.

Namespace

Drupal\KernelTests\Core\File

Code

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.