public RedirectDestinationTrait::setRedirectDestination(RedirectDestinationInterface $redirect_destination)
Sets the redirect destination service.
\Drupal\Core\Routing\RedirectDestinationInterface $redirect_destination: The redirect destination service.
$this
public function setRedirectDestination(RedirectDestinationInterface $redirect_destination) { $this->redirectDestination = $redirect_destination; return $this; }
© 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!RedirectDestinationTrait.php/function/RedirectDestinationTrait::setRedirectDestination/8.1.x