Link::getText

public function Link::getText

public Link::getText()

Returns the text of the link.

Return value

string

File

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

Class

Link
Defines an object that holds information about a link.

Namespace

Drupal\Core

Code

public function getText() {
  return $this->text;
}