1 system_test.module | system_test_request_destination() |
Page callback to print out $_REQUEST['destination'] for testing.
File
- core/
modules/ simpletest/ tests/ system_test.module, line 529 - Test module for system functions.
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;
}