1 system_test.module | system_test_get_destination() |
Page callback to print out $_GET['destination'] for testing.
File
- core/
modules/ simpletest/ tests/ system_test.module, line 517 - Test module for system functions.
Code
function system_test_get_destination() {
if (isset($_GET['destination'])) {
print $_GET['destination'];
}
// No need to render the whole page, we are just interested in this bit of
// information.
exit;
}