function file_test_get_all_calls
7.x file_test.module | file_test_get_all_calls() |
Get an array with the calls for all hooks.
Return value
An array keyed by hook name ('load', 'validate', 'download', 'insert', 'update', 'copy', 'move', 'delete') with values being arrays of parameters passed to each call.
1 call to file_test_get_all_calls()
- FileHookTestCase::assertFileHooksCalled in drupal-7.x/
modules/ simpletest/ tests/ file.test - Assert that all of the specified hook_file_* hooks were called once, other values result in failure.
File
- drupal-7.x/
modules/ simpletest/ tests/ file_test.module, line 193 - Helper module for the file tests.
Code
function file_test_get_all_calls() {
return variable_get('file_test_results', array());
}