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.
Parameters
string $new_destination: The new destination.
Return value
$this
File
- core/lib/Drupal/Core/Routing/RedirectDestinationInterface.php, line 55
Class
- RedirectDestinationInterface
- Provides an interface for redirect destinations.
Namespace
Drupal\Core\Routing
Code
public function set($new_destination);
Please login to continue.