Search for redirect
- Search 7.x for redirect
- Search 8.9.x for redirect
- Search 10.3.x for redirect
- Search 11.x for redirect
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
RedirectCommand | class | core/ |
Defines an AJAX command to set the window.location, loading that URL. |
RedirectCommand.php | file | core/ |
|
RedirectCommand::$url | property | core/ |
The URL that will be loaded into window.location. |
RedirectCommand::render | function | core/ |
Implements \Drupal\Core\Ajax\CommandInterface:render(). |
RedirectCommand::__construct | function | core/ |
Constructs an RedirectCommand object. |
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. |
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. |
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. |
RedirectResponseSubscriber | class | core/ |
Allows manipulation of the response object when performing a redirect. |
RedirectResponseSubscriber.php | file | core/ |
|
RedirectResponseSubscriber::$requestContext | property | core/ |
The request context. |
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/ |
Tests destination detection and redirection. |
RedirectResponseSubscriberTest::testDestinationRedirectToExternalUrl | function | core/ |
@dataProvider providerTestDestinationRedirectToExternalUrl |
RedirectResponseSubscriberTest::testDestinationRedirectWithInvalidUrl | function | core/ |
@dataProvider providerTestDestinationRedirectWithInvalidUrl |
RedirectResponseSubscriberTest::testRedirectWithOptInExternalUrl | function | core/ |
@covers ::checkRedirectUrl[[api-linebreak]] |
redirect_leading_slashes_subscriber | service | core/ |
Drupal\Core\EventSubscriber\RedirectLeadingSlashesSubscriber |
Pagination
- Previous page
- Page 2
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.