Provides helpers for redirect destinations.
Hierarchy
- class \Drupal\Core\Routing\RedirectDestination implements RedirectDestinationInterface
File
- core/lib/Drupal/Core/Routing/RedirectDestination.php, line 11
Namespace
Drupal\Core\Routing
Members
Name | Modifiers | Type | Description |
---|---|---|---|
RedirectDestination::$destination | protected | property | The destination used by the current request. |
RedirectDestination::$requestStack | protected | property | The request stack. |
RedirectDestination::$urlGenerator | protected | property | The URL generator. |
RedirectDestination::get | public | function | Gets the destination as a path. Overrides RedirectDestinationInterface::get |
RedirectDestination::getAsArray | public | function | Prepares a 'destination' URL query parameter for use with \Drupal\Core\Url. Overrides RedirectDestinationInterface::getAsArray |
RedirectDestination::set | public | function | Sets the destination as URL. Overrides RedirectDestinationInterface::set |
RedirectDestination::__construct | public | function | Constructs a new RedirectDestination instance. |
Please login to continue.