function system_test_set_header

1 string reference to 'system_test_set_header'
system_test_menu in drupal/core/modules/system/tests/modules/system_test/system_test.module
Implements hook_menu().

File

drupal/core/modules/system/tests/modules/system_test/system_test.module, line 156

Code

function system_test_set_header() {
  drupal_add_http_header($_GET['name'], $_GET['value']);
  return t('The following header was set: %name: %value', array(
    '%name' => $_GET['name'],
    '%value' => $_GET['value'],
  ));
}