1 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.
File
- core/
modules/ simpletest/ tests/ file_test.module, line 200 - Helper module for the file tests.
Code
function file_test_get_all_calls() {
return state_get('file_test_results', array());
}