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
RedirectDestinationTest::testGet function core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php Tests destination passed via $_GET.
RedirectDestinationTest::testGetAsArray function core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php @dataProvider providerGet
RedirectDestinationTest::testSetAfterGetCall function core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php @covers ::set
@covers ::get
RedirectDestinationTest::testSetBeforeGetCall function core/tests/Drupal/Tests/Core/Routing/RedirectDestinationTest.php @covers ::set
@covers ::get
RedirectDestinationTrait trait core/lib/Drupal/Core/Routing/RedirectDestinationTrait.php Wrapper methods for the Redirect Destination.
RedirectDestinationTrait.php file core/lib/Drupal/Core/Routing/RedirectDestinationTrait.php
RedirectDestinationTrait::$redirectDestination property core/lib/Drupal/Core/Routing/RedirectDestinationTrait.php The redirect destination service.
RedirectDestinationTrait::getDestinationArray function core/lib/Drupal/Core/Routing/RedirectDestinationTrait.php Prepares a 'destination' URL query parameter for use with \Drupal\Core\Url.
RedirectDestinationTrait::getRedirectDestination function core/lib/Drupal/Core/Routing/RedirectDestinationTrait.php Returns the redirect destination service.
RedirectDestinationTrait::setRedirectDestination function core/lib/Drupal/Core/Routing/RedirectDestinationTrait.php Sets the redirect destination service.
RedirectFormBlock class core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php Provides a block containing a simple redirect form.
RedirectFormBlock.php file core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php
RedirectFormBlock::$formBuilder property core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php The form builder.
RedirectFormBlock::build function core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php Builds and returns the renderable array for this block plugin.
RedirectFormBlock::create function core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php Creates an instance of the plugin.
RedirectFormBlock::getCacheMaxAge function core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php @todo Make cacheable once https://www.drupal.org/node/2351015 lands.
RedirectFormBlock::__construct function core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php Constructs a new RedirectFormBlock.
RedirectLeadingSlashesSubscriber class core/lib/Drupal/Core/EventSubscriber/RedirectLeadingSlashesSubscriber.php Redirects paths containing successive slashes to those with single slashes.
RedirectLeadingSlashesSubscriber.php file core/lib/Drupal/Core/EventSubscriber/RedirectLeadingSlashesSubscriber.php
RedirectLeadingSlashesSubscriber::getSubscribedEvents function core/lib/Drupal/Core/EventSubscriber/RedirectLeadingSlashesSubscriber.php
RedirectLeadingSlashesSubscriber::redirect function core/lib/Drupal/Core/EventSubscriber/RedirectLeadingSlashesSubscriber.php Redirects paths containing successive slashes to those with single slashes.
RedirectOnExceptionTest class core/tests/Drupal/KernelTests/RequestProcessing/RedirectOnExceptionTest.php Tests redirects on exception pages.
RedirectOnExceptionTest.php file core/tests/Drupal/KernelTests/RequestProcessing/RedirectOnExceptionTest.php
RedirectOnExceptionTest::$modules property core/tests/Drupal/KernelTests/RequestProcessing/RedirectOnExceptionTest.php Modules to enable.
RedirectOnExceptionTest::testRedirectOn404 function core/tests/Drupal/KernelTests/RequestProcessing/RedirectOnExceptionTest.php
RedirectResponseSubscriber class core/lib/Drupal/Core/EventSubscriber/RedirectResponseSubscriber.php Allows manipulation of the response object when performing a redirect.
RedirectResponseSubscriber.php file core/lib/Drupal/Core/EventSubscriber/RedirectResponseSubscriber.php
RedirectResponseSubscriber::$requestContext property core/lib/Drupal/Core/EventSubscriber/RedirectResponseSubscriber.php The request context.
RedirectResponseSubscriber::$unroutedUrlAssembler property core/lib/Drupal/Core/EventSubscriber/RedirectResponseSubscriber.php The unrouted URL assembler service.
RedirectResponseSubscriber::checkRedirectUrl function core/lib/Drupal/Core/EventSubscriber/RedirectResponseSubscriber.php Allows manipulation of the response object when performing a redirect.
RedirectResponseSubscriber::getDestinationAsAbsoluteUrl function core/lib/Drupal/Core/EventSubscriber/RedirectResponseSubscriber.php Converts the passed in destination into an absolute URL.
RedirectResponseSubscriber::getSubscribedEvents function core/lib/Drupal/Core/EventSubscriber/RedirectResponseSubscriber.php Registers the methods in this class that should be listeners.
RedirectResponseSubscriber::__construct function core/lib/Drupal/Core/EventSubscriber/RedirectResponseSubscriber.php Constructs a RedirectResponseSubscriber object.
RedirectResponseSubscriberTest class core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php @coversDefaultClass \Drupal\Core\EventSubscriber\RedirectResponseSubscriber
@group EventSubscriber
RedirectResponseSubscriberTest.php file core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php
RedirectResponseSubscriberTest::$requestContext property core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php The mocked request context.
RedirectResponseSubscriberTest::$urlAssembler property core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php The mocked request context.
RedirectResponseSubscriberTest::providerTestDestinationRedirect function core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php Data provider for testDestinationRedirect().
RedirectResponseSubscriberTest::providerTestDestinationRedirectToExternalUrl function core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php Data provider for testDestinationRedirectToExternalUrl().
RedirectResponseSubscriberTest::providerTestDestinationRedirectWithInvalidUrl function core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php Data provider for testDestinationRedirectWithInvalidUrl().
RedirectResponseSubscriberTest::setUp function core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php
RedirectResponseSubscriberTest::testDestinationRedirect function core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php Tests destination detection and redirection.
RedirectResponseSubscriberTest::testDestinationRedirectToExternalUrl function core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php @dataProvider providerTestDestinationRedirectToExternalUrl
RedirectResponseSubscriberTest::testDestinationRedirectWithInvalidUrl function core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php @dataProvider providerTestDestinationRedirectWithInvalidUrl
RedirectResponseSubscriberTest::testRedirectWithOptInExternalUrl function core/tests/Drupal/Tests/Core/EventSubscriber/RedirectResponseSubscriberTest.php @covers ::checkRedirectUrl
RedirectTest class core/modules/system/tests/src/Functional/Form/RedirectTest.php Tests form redirection functionality.
RedirectTest class core/modules/views_ui/tests/src/Functional/RedirectTest.php Tests the redirecting after saving a views.
RedirectTest.php file core/modules/system/tests/src/Functional/Form/RedirectTest.php
RedirectTest.php file core/modules/views_ui/tests/src/Functional/RedirectTest.php
RedirectTest::$defaultTheme property core/modules/system/tests/src/Functional/Form/RedirectTest.php The theme to install as the default for testing.

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