function FileSystemTest::providerTestBasename
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/File/FileSystemTest.php \Drupal\Tests\Core\File\FileSystemTest::providerTestBasename()
- 10 core/tests/Drupal/Tests/Core/File/FileSystemTest.php \Drupal\Tests\Core\File\FileSystemTest::providerTestBasename()
- 11.x core/tests/Drupal/Tests/Core/File/FileSystemTest.php \Drupal\Tests\Core\File\FileSystemTest::providerTestBasename()
File
-
core/
tests/ Drupal/ Tests/ Core/ File/ FileSystemTest.php, line 114
Class
- FileSystemTest
- @coversDefaultClass \Drupal\Core\File\FileSystem
Namespace
Drupal\Tests\Core\FileCode
public function providerTestBasename() {
$data = [];
$data[] = [
'public://nested/dir',
'dir',
];
$data[] = [
'public://dir/test.txt',
'test.txt',
];
$data[] = [
'public://dir/test.txt',
'test',
'.txt',
];
return $data;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.