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
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
  • 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
template_preprocess_link_formatter_link_separate
  • References/PHP/Drupal/Link/link.module

template_preprocess_link_formatter_link_separate(&$variables) Prepares variables for separated link field

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

public Link::toRenderable() Returns a render array representation

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

public Link::getText() Returns the text of the link.

2025-01-10 15:47:30