You are here

function system_test_request_destination in Drupal 7

Page callback to print out $_REQUEST['destination'] for testing.

1 string reference to 'system_test_request_destination'
system_test_menu in modules/simpletest/tests/system_test.module
Implements hook_menu().

File

modules/simpletest/tests/system_test.module, line 491

Code

function system_test_request_destination() {
  if (isset($_REQUEST['destination'])) {
    print $_REQUEST['destination'];
  }

  // No need to render the whole page, we are just interested in this bit of
  // information.
  exit;
}