Search for redirect

  1. Search 7.x for redirect
  2. Search 9.5.x for redirect
  3. Search 8.9.x for redirect
  4. Search 10.3.x for redirect
  5. Other projects
Title Object type File name Summary
TrustedRedirectResponse::isSafe function core/lib/Drupal/Core/Routing/TrustedRedirectResponse.php Returns whether the URL is considered as safe to redirect to.
TrustedRedirectResponse::setTrustedTargetUrl function core/lib/Drupal/Core/Routing/TrustedRedirectResponse.php Sets the target URL to a trusted URL.
TrustedRedirectResponse::__construct function core/lib/Drupal/Core/Routing/TrustedRedirectResponse.php
TrustedRedirectResponseTest class core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php @coversDefaultClass \Drupal\Core\Routing\TrustedRedirectResponse
@group Routing
TrustedRedirectResponseTest.php file core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php
TrustedRedirectResponseTest::providerCreateFromRedirectResponse function core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php
TrustedRedirectResponseTest::testCreateFromRedirectResponse function core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php @covers ::createFromRedirectResponse
@dataProvider providerCreateFromRedirectResponse
TrustedRedirectResponseTest::testSetTargetUrlWithInternalUrl function core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php @covers ::setTargetUrl
TrustedRedirectResponseTest::testSetTargetUrlWithTrustedUrl function core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php @covers ::setTargetUrl
TrustedRedirectResponseTest::testSetTargetUrlWithUntrustedUrl function core/tests/Drupal/Tests/Core/Routing/TrustedRedirectResponseTest.php @covers ::setTargetUrl
UserAuthTest::testAddCheckToUrlForTrustedRedirectResponse function core/modules/user/tests/src/Unit/UserAuthTest.php Tests the auth that ends in a redirect from subdomain to TLD.
UserAuthTest::testAddCheckToUrlForTrustedRedirectResponseWithFragment function core/modules/user/tests/src/Unit/UserAuthTest.php Tests the auth that ends in a redirect from subdomain with a fragment to TLD.
UserController::determineErrorRedirect function core/modules/user/src/Controller/UserController.php Validates user, hash, and timestamp.
UserListBuilder::$redirectDestination property core/modules/user/src/UserListBuilder.php The redirect destination service.
VariationCache::$redirectChainCache property core/lib/Drupal/Core/Cache/VariationCache.php Stores redirect chain lookups until the next set, invalidate or delete.
VariationCache::getRedirectChain function core/lib/Drupal/Core/Cache/VariationCache.php Performs a full get, returning every step of the way.
VariationCache::getValidatedCachedRedirectChain function core/lib/Drupal/Core/Cache/VariationCache.php Retrieved the redirect chain from cache, validating each part.
VariationCacheTest::testIncompatibleChainedRedirectsComplexException function core/tests/Drupal/Tests/Core/Cache/VariationCacheTest.php Tests the same as above, but even more complex.
VariationCacheTest::testIncompatibleChainedRedirectsException function core/tests/Drupal/Tests/Core/Cache/VariationCacheTest.php Tests the same as above, but with more redirects.
VariationCacheTest::testIncompatibleRedirectsException function core/tests/Drupal/Tests/Core/Cache/VariationCacheTest.php Tests exception for a cache item that has incompatible cache redirects.
VariationCacheTest::testIncompleteRedirectException function core/tests/Drupal/Tests/Core/Cache/VariationCacheTest.php Tests exception for a cache item that has an incomplete redirect.
ViewAjaxController::$redirectDestination property core/modules/views/src/Controller/ViewAjaxController.php The redirect destination.
ViewAjaxControllerTest::$redirectDestination property core/modules/views/tests/src/Unit/Controller/ViewAjaxControllerTest.php The redirect destination.
views.view.test_block_content_redirect_destination.yml file core/modules/block_content/tests/modules/block_content_test_views/test_views/views.view.test_block_content_redirect_destination.yml core/modules/block_content/tests/modules/block_content_test_views/test_views/views.view.test_block_content_redirect_destination.yml
views.view.test_redirect_view.yml file core/modules/views/tests/modules/views_test_config/test_views/views.view.test_redirect_view.yml core/modules/views/tests/modules/views_test_config/test_views/views.view.test_redirect_view.yml

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