FILE_URL_TEST_CDN_1

Same name in other branches
  1. 9 core/modules/file/tests/file_test/file_test.module \FILE_URL_TEST_CDN_1
  2. 8.9.x core/modules/file/tests/file_test/file_test.module \FILE_URL_TEST_CDN_1
  3. 10 core/modules/file/tests/file_test/file_test.module \FILE_URL_TEST_CDN_1
  4. 11.x core/modules/file/tests/file_test/file_test.module \FILE_URL_TEST_CDN_1

@file Helper module for the file tests.

The caller is must call file_test_reset() to initializing this module before calling file_test_get_calls() or file_test_set_return().

2 uses of FILE_URL_TEST_CDN_1
FileURLRewritingTest::testShippedFileURL in modules/simpletest/tests/file.test
Test the generating of rewritten shipped file URLs.
file_test_file_url_alter in modules/simpletest/tests/file_test.module
Implements hook_file_url_alter().

File

modules/simpletest/tests/file_test.module, line 12

Code

define('FILE_URL_TEST_CDN_1', 'http://cdn1.example.com');

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