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
public Link::setText($text) Sets the new text of the link
Defines an interface for the link field item. Hierarchy interface \Drupal\Core\TypedData\
public Link::setUrl(Url $url) Sets the URL of this link
Default theme implementation of a link with separate title and URL elements. Available variables: link:
public static Link::createFromRoute($text, $route_name, $route_parameters = array(), $options =
Defines an object that holds information about a link. Hierarchy class \Drupal\Core\
public Link::toString() Generates the HTML for this Link
Page 1 of 3