The text of the link. Type: string File core/lib/Drupal/Core/Link
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
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::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.
Default theme implementation of a link with separate title and URL elements. Available variables: link:
public Link::setUrl(Url $url) Sets the URL of this link
Page 1 of 3