W3cubDocs

/Drupal 8

interface RedirectDestinationInterface

Provides an interface for redirect destinations.

Hierarchy

File

core/lib/Drupal/Core/Routing/RedirectDestinationInterface.php, line 8

Namespace

Drupal\Core\Routing

Members

Name Modifiers Type Description
RedirectDestinationInterface::get public function Gets the destination as a path.
RedirectDestinationInterface::getAsArray public function Prepares a 'destination' URL query parameter for use with \Drupal\Core\Url.
RedirectDestinationInterface::set public function Sets the destination as URL.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Routing!RedirectDestinationInterface.php/interface/RedirectDestinationInterface/8.1.x