FILE_URL_TEST_CDN_2

Same name and namespace in other branches
  1. 7.x modules/simpletest/tests/file_test.module \FILE_URL_TEST_CDN_2
  2. 8.9.x core/modules/file/tests/file_test/file_test.module \FILE_URL_TEST_CDN_2
  3. 10 core/modules/file/tests/file_test/file_test.module \FILE_URL_TEST_CDN_2
  4. 11.x core/modules/file/tests/file_test/file_test.module \FILE_URL_TEST_CDN_2
3 uses of FILE_URL_TEST_CDN_2
FileUrlGeneratorTest::testPublicManagedFileURL in core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php
Tests the rewriting of public managed file URLs by hook_file_url_alter().
FileUrlGeneratorTest::testShippedFileURL in core/tests/Drupal/KernelTests/Core/File/FileUrlGeneratorTest.php
Tests the rewriting of shipped file URLs by hook_file_url_alter().
file_test_file_url_alter in core/modules/file/tests/file_test/file_test.module
Implements hook_file_url_alter().

File

core/modules/file/tests/file_test/file_test.module, line 14

Code

const FILE_URL_TEST_CDN_2 = 'http://cdn2.example.com';

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