function file_test_file_scan_callback_reset

Same name in other branches
  1. 9 core/modules/file/tests/file_test/file_test.module \file_test_file_scan_callback_reset()
  2. 8.9.x core/modules/file/tests/file_test/file_test.module \file_test_file_scan_callback_reset()
  3. 10 core/modules/file/tests/file_test/file_test.module \file_test_file_scan_callback_reset()
  4. 11.x 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

Code

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

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