public RedirectDestinationTrait::setRedirectDestination(RedirectDestinationInterface $redirect_destination)
Sets the redirect destination service.
Parameters
\Drupal\Core\Routing\RedirectDestinationInterface $redirect_destination: The redirect destination service.
Return value
$this
File
- core/lib/Drupal/Core/Routing/RedirectDestinationTrait.php, line 61
Class
- RedirectDestinationTrait
- Wrapper methods for the Redirect Destination.
Namespace
Drupal\Core\Routing
Code
public function setRedirectDestination(RedirectDestinationInterface $redirect_destination) { $this->redirectDestination = $redirect_destination; return $this; }
Please login to continue.