public Link::setUrl(Url $url) Sets the URL of this link
public Link::getText() Returns the text of the link.
public static Link::createFromRoute($text, $route_name, $route_parameters = array(), $options =
public Link::toString() Generates the HTML for this Link
link_theme() Implements
public static Link::fromTextAndUrl($text, Url $url) Creates
public LinkItemInterface::isExternal()
The URL of the link. Type:
Defines simple link field types. File core/modules/link/link.module Functions
public Link::__construct($text, Url $url) Constructs a
Page 2 of 3