Get an array with the calls for all hooks.
An array keyed by hook name ('load', 'validate', 'download', 'insert', 'update', 'copy', 'move', 'delete') with values being arrays of parameters passed to each call.
function file_test_get_all_calls() {
return state()
->get('file_test.results') ?: array();
}