You are here

public function RedirectDestination::set in Bakery Single Sign-On System 8.2

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

Overrides RedirectDestinationInterface::set

File

src/RedirectDestination.php, line 136

Class

RedirectDestination

Namespace

Drupal\bakery

Code

public function set($new_destination) {
  $this->destination = $new_destination;
  return $this;
}