function RemoteFileScanDirectoryTest::setUp
Same name and namespace in other branches
- 7.x modules/simpletest/tests/file.test \RemoteFileScanDirectoryTest::setUp()
- 9 core/tests/Drupal/KernelTests/Core/File/RemoteFileScanDirectoryTest.php \Drupal\KernelTests\Core\File\RemoteFileScanDirectoryTest::setUp()
- 8.9.x core/tests/Drupal/KernelTests/Core/File/RemoteFileScanDirectoryTest.php \Drupal\KernelTests\Core\File\RemoteFileScanDirectoryTest::setUp()
- 10 core/tests/Drupal/KernelTests/Core/File/RemoteFileScanDirectoryTest.php \Drupal\KernelTests\Core\File\RemoteFileScanDirectoryTest::setUp()
Overrides ScanDirectoryTest::setUp
File
-
core/
tests/ Drupal/ KernelTests/ Core/ File/ RemoteFileScanDirectoryTest.php, line 39
Class
- RemoteFileScanDirectoryTest
- Tests <a href="/api/drupal/core%21lib%21Drupal%21Core%21File%21FileSystemInterface.php/function/FileSystemInterface%3A%3AscanDirectory/11.x" title="Finds all files that match a given mask in a given directory." class="local">\Drupal\Core\File\FileSystemInterface::scanDirectory</a>().
Namespace
Drupal\KernelTests\Core\FileCode
protected function setUp() : void {
parent::setUp();
$this->config('system.file')
->set('default_scheme', 'dummy-remote')
->save();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.