Search for scan

  1. Search 9.5.x for scan
  2. Search 8.9.x for scan
  3. Search 10.3.x for scan
  4. Search 11.x for scan
  5. Other projects
Title Object type File name Summary
drupal_file_scan_write_cache function includes/bootstrap.inc Writes the file scan cache to the persistent cache.
FileScanDirectory class modules/file/tests/file.test Tests the file_scan_directory() function.
FileScanDirectory::$path property modules/file/tests/file.test
FileScanDirectory::getInfo function modules/file/tests/file.test
FileScanDirectory::setUp function modules/file/tests/file.test Sets up a Drupal site for running functional and integration tests.
FileScanDirectory::testNoMask function modules/file/tests/file.test Tests file_scan_directory() obeys 'file_scan_ignore_directories' setting.
If nomask is not passed as argument, it should use the default settings.
If nomask is passed as argument, it should obey this rule.
FileScanDirectoryTest class modules/simpletest/tests/file.test Tests the file_scan_directory() function.
FileScanDirectoryTest::$path property modules/simpletest/tests/file.test
FileScanDirectoryTest::getInfo function modules/simpletest/tests/file.test
FileScanDirectoryTest::setUp function modules/simpletest/tests/file.test Sets up a Drupal site for running functional and integration tests.
FileScanDirectoryTest::testOptionCallback function modules/simpletest/tests/file.test Check that the callback function is called correctly.
FileScanDirectoryTest::testOptionKey function modules/simpletest/tests/file.test Check that key parameter sets the return value's key.
FileScanDirectoryTest::testOptionMinDepth function modules/simpletest/tests/file.test Check that the min_depth options lets us ignore files in the starting
directory.
FileScanDirectoryTest::testOptionNoMask function modules/simpletest/tests/file.test Check that the no-mask parameter is honored.
FileScanDirectoryTest::testOptionRecurse function modules/simpletest/tests/file.test Check that the recurse option decends into subdirectories.
FileScanDirectoryTest::testReturn function modules/simpletest/tests/file.test Check the format of the returned values.
file_scan_directory function includes/file.inc Finds all files that match a given mask in a given directory.
file_test_file_scan_callback function modules/simpletest/tests/file.test Helper function for testing file_scan_directory().
file_test_file_scan_callback_reset function modules/simpletest/tests/file.test Reset static variables used by file_test_file_scan_callback().
RemoteFileScanDirectoryTest class modules/simpletest/tests/file.test Tests the file_scan_directory() function on remote filesystems.
RemoteFileScanDirectoryTest::getInfo function modules/simpletest/tests/file.test
RemoteFileScanDirectoryTest::setUp function modules/simpletest/tests/file.test Sets up a Drupal site for running functional and integration tests.
TokenScanTest class modules/system/system.test Test token replacement in strings.
TokenScanTest::getInfo function modules/system/system.test
TokenScanTest::testTokenScan function modules/system/system.test Scans dummy text, then tests the output.
token_scan function includes/token.inc Builds a list of all token-like patterns that appear in the text.
_drupal_file_scan_cache function includes/bootstrap.inc Returns the current list of cached file system scan results.
_drupal_get_filename_perform_file_scan function includes/bootstrap.inc Performs a file system scan to search for a system resource.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.