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 11.x for redirect
  5. Other projects
Title Object type File name Summary
BlockContentRedirectTest class core/modules/block_content/tests/src/Functional/BlockContentRedirectTest.php Ensures that custom block type functions work correctly.
BlockContentRedirectTest.php file core/modules/block_content/tests/src/Functional/BlockContentRedirectTest.php
BlockContentRedirectTest::$defaultTheme property core/modules/block_content/tests/src/Functional/BlockContentRedirectTest.php The theme to install as the default for testing.
BlockContentRedirectTest::testBlockContentDeleteRedirect function core/modules/block_content/tests/src/Functional/BlockContentRedirectTest.php Tests the deprecation message from the old block delete page.
BlockContentRedirectTest::testBlockContentEditRedirect function core/modules/block_content/tests/src/Functional/BlockContentRedirectTest.php Tests the deprecation message from the old block edit page.
BlockContentRedirectTest::testBlockContentTypeRedirect function core/modules/block_content/tests/src/Functional/BlockContentRedirectTest.php Tests the deprecation message from the old block-type page.
BlockContentRedirectTest::testBlockLibraryRedirect function core/modules/block_content/tests/src/Functional/BlockContentRedirectTest.php Tests the deprecation message from the old block library page.
CacheRedirect class core/lib/Drupal/Core/Cache/CacheRedirect.php Defines a value object to represent a cache redirect.
CacheRedirect.php file core/lib/Drupal/Core/Cache/CacheRedirect.php
CacheRedirect::__construct function core/lib/Drupal/Core/Cache/CacheRedirect.php Constructs a CacheRedirect object.
EntityDeleteFormTrait::getRedirectUrl function core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php Returns the URL where the user should be redirected after deletion.
FileStorage::ensureDirectory function core/lib/Drupal/Component/PhpStorage/FileStorage.php Ensures the directory exists, has the right permissions, and a .htaccess.
install_full_redirect_url function core/includes/install.core.inc Returns the complete URL redirected to during an installation request.
install_redirect_url function core/includes/install.core.inc Returns the URL that should be redirected to during an installation request.
LayoutBuilderEntityFormTrait::redirectOnSubmit function core/modules/layout_builder/src/Form/LayoutBuilderEntityFormTrait.php Form submission handler.
MenuLinkListBuilder::$redirectDestination property core/modules/menu_link_content/src/MenuLinkListBuilder.php The redirect destination.
NavigationSectionStorage::getRedirectUrl function core/modules/navigation/src/Plugin/SectionStorage/NavigationSectionStorage.php Gets the URL used when redirecting away from the Layout Builder UI.
PathChangedHelper::redirect function core/lib/Drupal/Core/Routing/PathChangedHelper.php Returns a redirect to the new path.
RedirectAjaxTest class core/modules/views/tests/src/FunctionalJavascript/RedirectAjaxTest.php Tests that the redirects work with Ajax enabled views.
RedirectAjaxTest.php file core/modules/views/tests/src/FunctionalJavascript/RedirectAjaxTest.php
RedirectAjaxTest::$defaultTheme property core/modules/views/tests/src/FunctionalJavascript/RedirectAjaxTest.php The theme to install as the default for testing.
RedirectAjaxTest::$modules property core/modules/views/tests/src/FunctionalJavascript/RedirectAjaxTest.php Modules to install.
RedirectAjaxTest::setUp function core/modules/views/tests/src/FunctionalJavascript/RedirectAjaxTest.php
RedirectAjaxTest::testRedirectWithAjax function core/modules/views/tests/src/FunctionalJavascript/RedirectAjaxTest.php Ensures that redirects work with ajax.
RouteSubscriber::addRedirectRoute function core/modules/block_content/src/Routing/RouteSubscriber.php Adds a redirect route.
SecuredRedirectResponse class core/lib/Drupal/Component/HttpFoundation/SecuredRedirectResponse.php Provides a common base class for safe redirects.
SecuredRedirectResponse.php file core/lib/Drupal/Component/HttpFoundation/SecuredRedirectResponse.php
SecuredRedirectResponse::createFromRedirectResponse function core/lib/Drupal/Component/HttpFoundation/SecuredRedirectResponse.php Copies an existing redirect response into a safe one.
SecuredRedirectResponse::fromResponse function core/lib/Drupal/Component/HttpFoundation/SecuredRedirectResponse.php Copies over the values from the given response.
SecuredRedirectResponse::isSafe function core/lib/Drupal/Component/HttpFoundation/SecuredRedirectResponse.php Returns whether the URL is considered as safe to redirect to.
SecuredRedirectResponse::setTargetUrl function core/lib/Drupal/Component/HttpFoundation/SecuredRedirectResponse.php
VariationCache::getRedirectChain function core/lib/Drupal/Core/Cache/VariationCache.php Performs a full get, returning every step of the way.

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