public Link::setText($text) Sets the new text of the link
The text of the link. Type: string File core/lib/Drupal/Core/Link
Defines an object that holds information about a link. Hierarchy class \Drupal\Core\
public Link::toRenderable() Returns a render array representation
public static Link::createFromRoute($text, $route_name, $route_parameters = array(), $options =
public Link::setUrl(Url $url) Sets the URL of this link
public Link::toString() Generates the HTML for this Link
public Link::getText() Returns the text of the link.
public static Link::fromTextAndUrl($text, Url $url) Creates
The URL of the link. Type:
Page 1 of 2