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
The text of the link. Type: string File core/lib/Drupal/Core/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\
Specifies whether the field supports both internal and external URLs. File core/modules/link/src/LinkItemInterface
Page 1 of 3