function image_module_test_file_download
7.x image_module_test.module | image_module_test_file_download($uri) |
1 string reference to 'image_module_test_file_download'
- ImageStylesPathAndUrlTestCase::_testImageStyleUrlAndPath in drupal-7.x/
modules/ image/ image.test - Test image_style_url().
File
- drupal-7.x/
modules/ image/ tests/ image_module_test.module, line 8 - Provides Image module hook implementations for testing purposes.
Code
function image_module_test_file_download($uri) {
if (variable_get('image_module_test_file_download', FALSE) == $uri) {
return array('X-Image-Owned-By' => 'image_module_test');
}
}