You are here

public function DescriptionSuggestion::getDescription in Linkit 8.5

Gets the suggestion description.

Return value

string The suggestion description.

Overrides SuggestionDescriptionInterface::getDescription

1 call to DescriptionSuggestion::getDescription()
DescriptionSuggestion::jsonSerialize in src/Suggestion/DescriptionSuggestion.php

File

src/Suggestion/DescriptionSuggestion.php, line 22

Class

DescriptionSuggestion
Defines a linkit suggestion with description.

Namespace

Drupal\linkit\Suggestion

Code

public function getDescription() {
  return $this->description;
}