Link::$text

Same name in other branches
  1. 9 core/lib/Drupal/Core/Link.php \Drupal\Core\Link::text
  2. 10 core/lib/Drupal/Core/Link.php \Drupal\Core\Link::text
  3. 11.x core/lib/Drupal/Core/Link.php \Drupal\Core\Link::text

The text of the link.

Type: string

File

core/lib/Drupal/Core/Link.php, line 25

Class

Link
Defines an object that holds information about a link.

Namespace

Drupal\Core

Code

protected $text;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.