function _file_test_log_call
Same name in other branches
- 9 core/modules/file/tests/file_test/file_test.module \_file_test_log_call()
- 8.9.x core/modules/file/tests/file_test/file_test.module \_file_test_log_call()
- 10 core/modules/file/tests/file_test/file_test.module \_file_test_log_call()
- 11.x core/modules/file/tests/file_test/file_test.module \_file_test_log_call()
Store the values passed to a hook invocation.
Parameters
$op: One of the hook_file_* operations: 'load', 'validate', 'download', 'insert', 'update', 'copy', 'move', 'delete'.
$args: Values passed to hook.
See also
8 calls to _file_test_log_call()
- file_test_file_copy in modules/
simpletest/ tests/ file_test.module - Implements hook_file_copy().
- file_test_file_delete in modules/
simpletest/ tests/ file_test.module - Implements hook_file_delete().
- file_test_file_download in modules/
simpletest/ tests/ file_test.module - Implements hook_file_download().
- file_test_file_insert in modules/
simpletest/ tests/ file_test.module - Implements hook_file_insert().
- file_test_file_load in modules/
simpletest/ tests/ file_test.module - Implements hook_file_load().
File
-
modules/
simpletest/ tests/ file_test.module, line 217
Code
function _file_test_log_call($op, $args) {
$results = variable_get('file_test_results', array());
$results[$op][] = $args;
variable_set('file_test_results', $results);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.