1 file.test file_test_validator(File $file, $errors)

Helper validator that returns the $errors parameter.

File

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

Code

function file_test_validator(File $file, $errors) {
  return $errors;
}