summaryrefslogtreecommitdiff
path: root/modules/image/tests/image_module_test.module
blob: 5aa9dadb5760a7733993473f7d4d633b4e784d8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php
// $Id$

/**
 * @file
 * Provides Image module hook implementations for testing purposes.
 */

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');
  }
  return -1;
}