1 image_test.module | _image_test_log_call($op, $args) |
Store the values passed to a toolkit call.
Parameters
$op: One of the image toolkit operations: 'get_info', 'load', 'save', 'settings', 'resize', 'rotate', 'crop', 'desaturate'.
$args: Values passed to hook.
See also
File
- core/
modules/ simpletest/ tests/ image_test.module, line 67 - Helper module for the image tests.
Code
function _image_test_log_call($op, $args) {
$results = state_get('image_test_results', array());
$results[$op][] = $args;
state_set('image_test_results', $results);
}