function file_test_file_scan_callback_reset

Same name in other branches
  1. 7.x modules/simpletest/tests/file.test \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()
ScanDirectoryTest::testOptionCallback in core/tests/Drupal/KernelTests/Core/File/ScanDirectoryTest.php
Check that the callback function is called correctly.

File

core/modules/file/tests/file_test/file_test.module, line 349

Code

function file_test_file_scan_callback_reset() {
    file_test_file_scan_callback(NULL, TRUE);
}

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