Search for redirect
- Search 7.x for redirect
- Search 9.5.x for redirect
- Search 8.9.x for redirect
- Search 11.x for redirect
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| RedirectDestination | class | core/ |
Provides helpers for redirect destinations. |
| RedirectDestination.php | file | core/ |
|
| RedirectDestination::$destination | property | core/ |
The destination used by the current request. |
| RedirectDestination::$requestStack | property | core/ |
The request stack. |
| RedirectDestination::$urlGenerator | property | core/ |
The URL generator. |
| RedirectDestination::get | function | core/ |
Gets the destination as a path. |
| RedirectDestination::getAsArray | function | core/ |
Prepares a 'destination' URL query parameter for use with \Drupal\Core\Url. |
| RedirectDestination::set | function | core/ |
Sets the destination as URL. |
| RedirectDestination::__construct | function | core/ |
Constructs a new RedirectDestination instance. |
| RedirectDestinationInterface | interface | core/ |
Provides an interface for redirect destinations. |
| RedirectDestinationInterface.php | file | core/ |
|
| RedirectDestinationInterface::get | function | core/ |
Gets the destination as a path. |
| RedirectDestinationInterface::getAsArray | function | core/ |
Prepares a 'destination' URL query parameter for use with \Drupal\Core\Url. |
| RedirectDestinationInterface::set | function | core/ |
Sets the destination as URL. |
| RedirectDestinationTest | class | core/ |
@coversDefaultClass \Drupal\Core\Routing\RedirectDestination[[api-linebreak]] @group Routing |
| RedirectDestinationTest.php | file | core/ |
|
| RedirectDestinationTest::$redirectDestination | property | core/ |
The tested redirect destination. |
| RedirectDestinationTest::$requestStack | property | core/ |
The request stack. |
| RedirectDestinationTest::$urlGenerator | property | core/ |
The mocked URL generator. |
| RedirectDestinationTest::providerGet | function | core/ |
|
| RedirectDestinationTest::setUp | function | core/ |
|
| RedirectDestinationTest::setupUrlGenerator | function | core/ |
|
| RedirectDestinationTest::testGet | function | core/ |
Tests destination passed via $_GET. |
| RedirectDestinationTest::testGetAsArray | function | core/ |
@dataProvider providerGet |
| RedirectDestinationTest::testSetAfterGetCall | function | core/ |
@covers ::set[[api-linebreak]] @covers ::get[[api-linebreak]] |
| RedirectDestinationTest::testSetBeforeGetCall | function | core/ |
@covers ::set[[api-linebreak]] @covers ::get[[api-linebreak]] |
| RedirectDestinationTrait | trait | core/ |
Wrapper methods for the Redirect Destination. |
| RedirectDestinationTrait.php | file | core/ |
|
| RedirectDestinationTrait::$redirectDestination | property | core/ |
The redirect destination service. |
| RedirectDestinationTrait::getDestinationArray | function | core/ |
Prepares a 'destination' URL query parameter for use with \Drupal\Core\Url. |
| RedirectDestinationTrait::getRedirectDestination | function | core/ |
Returns the redirect destination service. |
| RedirectDestinationTrait::setRedirectDestination | function | core/ |
Sets the redirect destination service. |
| RedirectFormBlock | class | core/ |
Provides a block containing a simple redirect form. |
| RedirectFormBlock.php | file | core/ |
|
| RedirectFormBlock::$formBuilder | property | core/ |
The form builder. |
| RedirectFormBlock::build | function | core/ |
Builds and returns the renderable array for this block plugin. |
| RedirectFormBlock::create | function | core/ |
Creates an instance of the plugin. |
| RedirectFormBlock::__construct | function | core/ |
Constructs a new RedirectFormBlock. |
| RedirectLeadingSlashesSubscriber | class | core/ |
Redirects paths containing successive slashes to those with single slashes. |
| RedirectLeadingSlashesSubscriber.php | file | core/ |
|
| RedirectLeadingSlashesSubscriber::getSubscribedEvents | function | core/ |
|
| RedirectLeadingSlashesSubscriber::redirect | function | core/ |
Redirects paths containing successive slashes to those with single slashes. |
| RedirectOnExceptionTest | class | core/ |
Tests redirects on exception pages. |
| RedirectOnExceptionTest.php | file | core/ |
|
| RedirectOnExceptionTest::$modules | property | core/ |
Modules to install. |
| RedirectOnExceptionTest::testRedirectOn404 | function | core/ |
|
| RedirectResponseSubscriber | class | core/ |
Allows manipulation of the response object when performing a redirect. |
| RedirectResponseSubscriber.php | file | core/ |
|
| RedirectResponseSubscriber::$ignoreDestination | property | core/ |
Whether to ignore the destination query parameter when redirecting. |
| RedirectResponseSubscriber::checkRedirectUrl | function | core/ |
Allows manipulation of the response object when performing a redirect. |
Pagination
- Previous page
- Page 4
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.