You are here

public function SimpleSuggestion::getLabel in Linkit 8.5

Gets the suggestion label.

Return value

string The suggestion label.

Overrides SuggestionInterface::getLabel

1 call to SimpleSuggestion::getLabel()
SimpleSuggestion::jsonSerialize in src/Suggestion/SimpleSuggestion.php

File

src/Suggestion/SimpleSuggestion.php, line 34

Class

SimpleSuggestion
Defines a simple suggestion.

Namespace

Drupal\linkit\Suggestion

Code

public function getLabel() {
  return $this->label;
}