function image_test_save

Image tookit's save operation.

File

modules/simpletest/tests/image_test.module, line 101

Code

function image_test_save(stdClass $image, $destination) {
    _image_test_log_call('save', array(
        $image,
        $destination,
    ));
    // Return false so that image_save() doesn't try to chmod the destination
    // file that we didn't bother to create.
    return FALSE;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.