LinkItemInterface::LINK_EXTERNAL
  • References/PHP/Drupal/Link/src/LinkItemInterface

Specifies whether the field supports only external URLs. File core/modules/link/src/LinkItemInterface

2025-01-10 15:47:30
Link::$text
  • References/PHP/Drupal/Link

The text of the link. Type: string File core/lib/Drupal/Core/Link

2025-01-10 15:47:30
LinkItemInterface::LINK_INTERNAL
  • References/PHP/Drupal/Link/src/LinkItemInterface

Specifies whether the field supports only internal URLs. File core/modules/link/src/LinkItemInterface

2025-01-10 15:47:30
Link::setText
  • References/PHP/Drupal/Link

public Link::setText($text) Sets the new text of the link

2025-01-10 15:47:30
LinkItemInterface
  • References/PHP/Drupal/Link/src/LinkItemInterface

Defines an interface for the link field item. Hierarchy interface \Drupal\Core\TypedData\

2025-01-10 15:47:30
Link::setUrl
  • References/PHP/Drupal/Link

public Link::setUrl(Url $url) Sets the URL of this link

2025-01-10 15:47:30
link-formatter-link-separate.html.twig
  • References/PHP/Drupal/Link/templates/link-formatter-link-separate.html.twig

Default theme implementation of a link with separate title and URL elements. Available variables: link:

2025-01-10 15:47:30
Link::createFromRoute
  • References/PHP/Drupal/Link

public static Link::createFromRoute($text, $route_name, $route_parameters = array(), $options =

2025-01-10 15:47:30
Link
  • References/PHP/Drupal/Link

Defines an object that holds information about a link. Hierarchy class \Drupal\Core\

2025-01-10 15:47:30
Link::toString
  • References/PHP/Drupal/Link

public Link::toString() Generates the HTML for this Link

2025-01-10 15:47:30