function system_test_request_destination

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 536

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;
}

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