Search for scanDirectory
- Search 7.x for scanDirectory
 - Search 9.5.x for scanDirectory
 - Search 10.3.x for scanDirectory
 - Search 11.x for scanDirectory
 - Other projects
 
| Title | Object type | File name | Summary | 
|---|---|---|---|
| ExtensionDiscovery::scanDirectory | function | core/ | 
                                                                                        Recursively scans a base directory for the extensions it contains. | 
| FileSystem::doScanDirectory | function | core/ | 
                                                                                        Internal function to handle directory scanning with recursion. | 
| FileSystem::scanDirectory | function | core/ | 
                                                                                        Finds all files that match a given mask in a given directory. | 
| FileSystemDeprecationTest::testDeprecatedScanDirectory | function | core/ | 
                                                                                        @expectedDeprecation file_scan_directory() is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\File\FileSystemInterface::scanDirectory() instead. See https://www.drupal.org/node/3038437 | 
| FileSystemInterface::scanDirectory | function | core/ | 
                                                                                        Finds all files that match a given mask in a given directory. | 
| RemoteFileScanDirectoryTest | class | core/ | 
                                                                                        Tests \Drupal\Core\File\FileSystemInterface::scanDirectory(). | 
| RemoteFileScanDirectoryTest.php | file | core/ | 
                                                                                        |
| RemoteFileScanDirectoryTest::$classname | property | core/ | 
                                                                                        A fully-qualified stream wrapper class name to register for the test. | 
| RemoteFileScanDirectoryTest::$modules | property | core/ | 
                                                                                        Modules to enable. | 
| RemoteFileScanDirectoryTest::$scheme | property | core/ | 
                                                                                        A stream wrapper scheme to register for the test. | 
| RemoteFileScanDirectoryTest::setUp | function | core/ | 
                                                                                        |
| ScanDirectoryTest | class | core/ | 
                                                                                        Tests \Drupal\Core\File\FileSystem::scanDirectory. | 
| ScanDirectoryTest.php | file | core/ | 
                                                                                        |
| ScanDirectoryTest::$fileSystem | property | core/ | 
                                                                                        The file system. | 
| ScanDirectoryTest::$modules | property | core/ | 
                                                                                        Modules to enable. | 
| ScanDirectoryTest::$path | property | core/ | 
                                                                                        |
| ScanDirectoryTest::setUp | function | core/ | 
                                                                                        |
| ScanDirectoryTest::testIgnoreDirectories | function | core/ | 
                                                                                        Tests ::scanDirectory obeys 'file_scan_ignore_directories' setting. | 
| ScanDirectoryTest::testOptionCallback | function | core/ | 
                                                                                        Check that the callback function is called correctly. | 
| ScanDirectoryTest::testOptionKey | function | core/ | 
                                                                                        Check that key parameter sets the return value's key. | 
| ScanDirectoryTest::testOptionMinDepth | function | core/ | 
                                                                                        Check that the min_depth options lets us ignore files in the starting directory.  | 
              
| ScanDirectoryTest::testOptionNoMask | function | core/ | 
                                                                                        Check that the no-mask parameter is honored. | 
| ScanDirectoryTest::testOptionRecurse | function | core/ | 
                                                                                        Check that the recurse option descends into subdirectories. | 
| ScanDirectoryTest::testReturn | function | core/ | 
                                                                                        Check the format of the returned values. | 
| TestDiscovery::scanDirectory | function | core/ | 
                                                                                        Scans a given directory for class files. | 
| TestDiscoveryTest::testScanDirectoryNoAbstract | function | core/ | 
                                                                                        Ensure TestDiscovery::scanDirectory() ignores certain abstract file types. | 
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.