Search for destination

  1. Search 9.5.x for destination
  2. Search 8.9.x for destination
  3. Search 10.3.x for destination
  4. Search 11.x for destination
  5. Other projects
Title Object type File name Summary
BootstrapDestinationTestCase class modules/simpletest/tests/bootstrap.test Tests for $_GET['destination'] and $_REQUEST['destination'] validation.
BootstrapDestinationTestCase::getInfo function modules/simpletest/tests/bootstrap.test
BootstrapDestinationTestCase::setUp function modules/simpletest/tests/bootstrap.test Sets up a Drupal site for running functional and integration tests.
BootstrapDestinationTestCase::testDestination function modules/simpletest/tests/bootstrap.test Tests that $_GET/$_REQUEST['destination'] only contain internal URLs.
common_test_destination function modules/simpletest/tests/common_test.module Print destination query parameter.
DrupalGotoTest::testDrupalGetDestination function modules/simpletest/tests/common.test Test drupal_get_destination().
DrupalRequestSanitizer::cleanDestination function includes/request-sanitizer.inc Removes the destination if it is dangerous.
drupal_get_destination function includes/common.inc Prepares a 'destination' URL query parameter for use with drupal_goto().
FieldUIManageFieldsTestCase::testExternalDestinations function modules/field_ui/field_ui.test Tests that external URLs in the 'destinations' query parameter are blocked.
field_ui_get_destinations function modules/field_ui/field_ui.admin.inc Extracts next redirect path from an array of multiple destinations.
field_ui_next_destination function modules/field_ui/field_ui.admin.inc Returns the next redirect path in a multipage sequence.
FileDirectoryTest::testFileDestination function modules/simpletest/tests/file.test This will test the filepath for a destination based on passed flags and
whether or not the file exists.
file_destination function includes/file.inc Determines the destination path for a file.
system_test_get_destination function modules/simpletest/tests/system_test.module Page callback to print out $_GET['destination'] for testing.
system_test_request_destination function modules/simpletest/tests/system_test.module Page callback to print out $_REQUEST['destination'] for testing.
user_login_destination function modules/user/user.module Helper function to rewrite the destination to avoid redirecting to login page after login.

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