Search for %s
- Search 7.x for %s
- Search 9.5.x for %s
- Search 10.3.x for %s
- Search 11.x for %s
- Search main for %s
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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::__construct | function | core/ |
Constructs a new RedirectFormBlock. |
| RedirectLeadingSlashesSubscriber | class | core/ |
Redirects paths starting with multiple slashes to a single slash. |
| RedirectLeadingSlashesSubscriber.php | file | core/ |
|
| RedirectLeadingSlashesSubscriber::getSubscribedEvents | function | core/ |
|
| RedirectLeadingSlashesSubscriber::redirect | function | core/ |
Redirects paths starting with multiple slashes to a single slash. |
| RedirectOnExceptionTest | class | core/ |
Tests redirects on exception pages. |
| RedirectOnExceptionTest.php | file | core/ |
|
| RedirectOnExceptionTest::$modules | property | core/ |
Modules to enable. |
| RedirectOnExceptionTest::setUp | function | core/ |
|
| RedirectOnExceptionTest::testRedirectOn404 | function | core/ |
|
| RedirectResponseSubscriber | class | core/ |
Allows manipulation of the response object when performing a redirect. |
| RedirectResponseSubscriber.php | file | core/ |
|
| RedirectResponseSubscriber::$unroutedUrlAssembler | property | core/ |
The unrouted URL assembler service. |
| RedirectResponseSubscriber::checkRedirectUrl | function | core/ |
Allows manipulation of the response object when performing a redirect. |
| RedirectResponseSubscriber::getDestinationAsAbsoluteUrl | function | core/ |
Converts the passed in destination into an absolute URL. |
| RedirectResponseSubscriber::getSubscribedEvents | function | core/ |
Registers the methods in this class that should be listeners. |
| RedirectResponseSubscriber::__construct | function | core/ |
Constructs a RedirectResponseSubscriber object. |
| RedirectResponseSubscriberTest | class | core/ |
@coversDefaultClass \Drupal\Core\EventSubscriber\RedirectResponseSubscriber[[api-linebreak]] @group EventSubscriber |
| RedirectResponseSubscriberTest.php | file | core/ |
|
| RedirectResponseSubscriberTest::$requestContext | property | core/ |
The mocked request context. |
| RedirectResponseSubscriberTest::$urlAssembler | property | core/ |
The mocked request context. |
| RedirectResponseSubscriberTest::providerTestDestinationRedirect | function | core/ |
Data provider for testDestinationRedirect(). |
| RedirectResponseSubscriberTest::providerTestDestinationRedirectToExternalUrl | function | core/ |
Data provider for testDestinationRedirectToExternalUrl(). |
| RedirectResponseSubscriberTest::providerTestDestinationRedirectWithInvalidUrl | function | core/ |
Data provider for testDestinationRedirectWithInvalidUrl(). |
| RedirectResponseSubscriberTest::setUp | function | core/ |
|
| RedirectResponseSubscriberTest::testDestinationRedirect | function | core/ |
Test destination detection and redirection. |
| RedirectResponseSubscriberTest::testDestinationRedirectToExternalUrl | function | core/ |
@dataProvider providerTestDestinationRedirectToExternalUrl |
| RedirectResponseSubscriberTest::testDestinationRedirectWithInvalidUrl | function | core/ |
@dataProvider providerTestDestinationRedirectWithInvalidUrl |
Pagination
- Previous page
- Page 992
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.