function FileTestHelper::fileScanCallbackReset
Reset static variables used by FileTestHelper::fileScanCallback().
1 call to FileTestHelper::fileScanCallbackReset()
- 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/ src/ FileTestHelper.php, line 144
Class
- FileTestHelper
- Helper for file tests.
Namespace
Drupal\file_testCode
public static function fileScanCallbackReset() : void {
self::fileScanCallback(NULL, TRUE);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.