public Link::setUrl(Url $url)
Sets the URL of this link.
Url $url: The URL object to set
$this
public function setUrl(Url $url) { $this->url = $url; 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!Link.php/function/Link::setUrl/8.1.x