1 file_test.module file_test_file_validate(File $file)

Implements hook_file_validate().

File

core/modules/simpletest/tests/file_test.module, line 271
Helper module for the file tests.

Code

function file_test_file_validate(File $file) {
  _file_test_log_call('validate', array($file->fid));
  return _file_test_get_return('validate');
}