public Link::setUrl(Url $url)
Sets the URL of this link.
Parameters
Url $url: The URL object to set
Return value
$this
File
- core/lib/Drupal/Core/Link.php, line 130
Class
- Link
- Defines an object that holds information about a link.
Namespace
Drupal\Core
Code
public function setUrl(Url $url) { $this->url = $url; return $this; }
Please login to continue.