function RedirectDestination::set
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Routing/RedirectDestination.php \Drupal\Core\Routing\RedirectDestination::set()
- 10 core/lib/Drupal/Core/Routing/RedirectDestination.php \Drupal\Core\Routing\RedirectDestination::set()
- 11.x core/lib/Drupal/Core/Routing/RedirectDestination.php \Drupal\Core\Routing\RedirectDestination::set()
Overrides RedirectDestinationInterface::set
File
-
core/
lib/ Drupal/ Core/ Routing/ RedirectDestination.php, line 78
Class
- RedirectDestination
- Provides helpers for redirect destinations.
Namespace
Drupal\Core\RoutingCode
public function set($new_destination) {
$this->destination = $new_destination;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.