Search for redirect

  1. Search 7.x for redirect
  2. Search 8.9.x for redirect
  3. Search 10.3.x for redirect
  4. Search 11.x for redirect
  5. Other projects
Title Object type File name Summary
LocalRedirectResponse.php file core/lib/Drupal/Core/Routing/LocalRedirectResponse.php
MediaUiFunctionalTest::testMediaCreateRedirect function core/modules/media/tests/src/Functional/MediaUiFunctionalTest.php Tests the redirect URL after creating a media item.
MenuLinkAdd::$redirectDestination property core/modules/menu_ui/src/Plugin/Menu/LocalAction/MenuLinkAdd.php The redirect destination.
MenuLinkContentDeleteForm::getRedirectUrl function core/modules/menu_link_content/src/Form/MenuLinkContentDeleteForm.php Returns the URL where the user should be redirected after deletion.
NodeTranslationRedirectTest class core/modules/node/tests/src/Kernel/Migrate/d6/NodeTranslationRedirectTest.php Tests node translation redirections.
NodeTranslationRedirectTest class core/modules/node/tests/src/Kernel/Migrate/d7/NodeTranslationRedirectTest.php Tests node translation redirections.
NodeTranslationRedirectTest.php file core/modules/node/tests/src/Kernel/Migrate/d6/NodeTranslationRedirectTest.php
NodeTranslationRedirectTest.php file core/modules/node/tests/src/Kernel/Migrate/d7/NodeTranslationRedirectTest.php
NodeTranslationRedirectTest::$modules property core/modules/node/tests/src/Kernel/Migrate/d6/NodeTranslationRedirectTest.php Modules to enable.
NodeTranslationRedirectTest::$modules property core/modules/node/tests/src/Kernel/Migrate/d7/NodeTranslationRedirectTest.php Modules to enable.
NodeTranslationRedirectTest::setUp function core/modules/node/tests/src/Kernel/Migrate/d6/NodeTranslationRedirectTest.php
NodeTranslationRedirectTest::setUp function core/modules/node/tests/src/Kernel/Migrate/d7/NodeTranslationRedirectTest.php
NodeTranslationRedirectTest::testNodeTranslationRedirect function core/modules/node/tests/src/Kernel/Migrate/d6/NodeTranslationRedirectTest.php Tests that not found node translations are redirected.
NodeTranslationRedirectTest::testNodeTranslationRedirect function core/modules/node/tests/src/Kernel/Migrate/d7/NodeTranslationRedirectTest.php Tests that not found node translations are redirected.
OverridesEntityForm::redirectOnSubmit function core/modules/layout_builder/src/Form/OverridesEntityForm.php Form submission handler.
OverridesSectionStorage::getRedirectUrl function core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php Gets the URL used when redirecting away from the Layout Builder UI.
ProcessingTest::testBatchRedirectFinishedCallback function core/modules/system/tests/src/Functional/Batch/ProcessingTest.php Tests batches that redirect in the batch finished callback.
redirect.destination service core/core.services.yml Drupal\Core\Routing\RedirectDestination
RedirectBlockForm class core/modules/system/tests/modules/form_test/src/Form/RedirectBlockForm.php Builds a simple form that redirects on submit.
RedirectBlockForm.php file core/modules/system/tests/modules/form_test/src/Form/RedirectBlockForm.php
RedirectBlockForm::buildForm function core/modules/system/tests/modules/form_test/src/Form/RedirectBlockForm.php Form constructor.
RedirectBlockForm::getFormId function core/modules/system/tests/modules/form_test/src/Form/RedirectBlockForm.php Returns a unique string identifying the form.
RedirectBlockForm::submitForm function core/modules/system/tests/modules/form_test/src/Form/RedirectBlockForm.php Form submission handler.
RedirectCommand class core/lib/Drupal/Core/Ajax/RedirectCommand.php Defines an AJAX command to set the window.location, loading that URL.
RedirectCommand.php file core/lib/Drupal/Core/Ajax/RedirectCommand.php
RedirectCommand::$url property core/lib/Drupal/Core/Ajax/RedirectCommand.php The URL that will be loaded into window.location.
RedirectCommand::render function core/lib/Drupal/Core/Ajax/RedirectCommand.php Implements \Drupal\Core\Ajax\CommandInterface:render().
RedirectCommand::__construct function core/lib/Drupal/Core/Ajax/RedirectCommand.php Constructs an RedirectCommand object.
RedirectDestination class core/lib/Drupal/Core/Routing/RedirectDestination.php Provides helpers for redirect destinations.
RedirectDestination.php file core/lib/Drupal/Core/Routing/RedirectDestination.php
RedirectDestination::$destination property core/lib/Drupal/Core/Routing/RedirectDestination.php The destination used by the current request.
RedirectDestination::$requestStack property core/lib/Drupal/Core/Routing/RedirectDestination.php The request stack.
RedirectDestination::$urlGenerator property core/lib/Drupal/Core/Routing/RedirectDestination.php The URL generator.
RedirectDestination::get function core/lib/Drupal/Core/Routing/RedirectDestination.php Gets the destination as a path.
RedirectDestination::getAsArray function core/lib/Drupal/Core/Routing/RedirectDestination.php Prepares a 'destination' URL query parameter for use with \Drupal\Core\Url.
RedirectDestination::set function core/lib/Drupal/Core/Routing/RedirectDestination.php Sets the destination as URL.
RedirectDestination::__construct function core/lib/Drupal/Core/Routing/RedirectDestination.php Constructs a new RedirectDestination instance.
RedirectDestinationInterface interface core/lib/Drupal/Core/Routing/RedirectDestinationInterface.php Provides an interface for redirect destinations.
RedirectDestinationInterface.php file core/lib/Drupal/Core/Routing/RedirectDestinationInterface.php
RedirectDestinationInterface::get function core/lib/Drupal/Core/Routing/RedirectDestinationInterface.php Gets the destination as a path.
RedirectDestinationInterface::getAsArray function core/lib/Drupal/Core/Routing/RedirectDestinationInterface.php Prepares a 'destination' URL query parameter for use with \Drupal\Core\Url.
RedirectDestinationInterface::set function core/lib/Drupal/Core/Routing/RedirectDestinationInterface.php Sets the destination as URL.
RedirectDestinationTest class core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php @coversDefaultClass \Drupal\Core\Routing\RedirectDestination
@group Routing
RedirectDestinationTest.php file core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php
RedirectDestinationTest::$redirectDestination property core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php The tested redirect destination.
RedirectDestinationTest::$requestStack property core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php The request stack.
RedirectDestinationTest::$urlGenerator property core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php The mocked URL generator.
RedirectDestinationTest::providerGet function core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php
RedirectDestinationTest::setUp function core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php
RedirectDestinationTest::setupUrlGenerator function core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php

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