public Link::setText($text) Sets the new text of the link
Specifies whether the field supports only external URLs. File core/modules/link/src/LinkItemInterface
The text of the link. Type: string File core/lib/Drupal/Core/Link
Specifies whether the field supports only internal URLs. File core/modules/link/src/LinkItemInterface
Defines an interface for the link field item. Hierarchy interface \Drupal\Core\TypedData\
public Link::setUrl(Url $url) Sets the URL of this link
public Link::toString() Generates the HTML for this Link
public static Link::createFromRoute($text, $route_name, $route_parameters = array(), $options =
public Link::getText() Returns the text of the link.
public Link::toRenderable() Returns a render array representation
Page 1 of 3