You are here

function file_test_file_scan_callback_reset in Drupal 7

Same name and namespace in other branches
  1. 8 core/modules/file/tests/file_test/file_test.module \file_test_file_scan_callback_reset()
  2. 9 core/modules/file/tests/file_test/file_test.module \file_test_file_scan_callback_reset()

Reset static variables used by file_test_file_scan_callback().

1 call to file_test_file_scan_callback_reset()
FileScanDirectoryTest::testOptionCallback in modules/simpletest/tests/file.test
Check that the callback function is called correctly.

File

modules/simpletest/tests/file.test, line 41
This provides SimpleTests for the core file handling functionality. These include FileValidateTest and FileSaveTest.

Code

function file_test_file_scan_callback_reset() {
  drupal_static_reset('file_test_file_scan_callback');
}