public Link::toRenderable() Returns a render array representation
public Link::getText() Returns the text of the link.
Specifies whether the field supports both internal and external URLs. File core/modules/link/src/LinkItemInterface
Default theme implementation of a link with separate title and URL elements. Available variables: link:
link_theme() Implements
public static Link::fromTextAndUrl($text, Url $url) Creates
Defines simple link field types. File core/modules/link/link.module Functions
public LinkItemInterface::isExternal()
public Link::__construct($text, Url $url) Constructs a
The URL of the link. Type:
Page 2 of 3