function system_test_get_destination

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

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

File

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

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

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