public RedirectDestinationInterface::set($new_destination)
Sets the destination as URL.
This method should be used really rarely, for example views uses it, in order to override all destination calls in all of its rendering.
string $new_destination: The new destination.
$this
public function set($new_destination);
© 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/function/RedirectDestinationInterface::set/8.1.x