You are here

public function DescriptionSuggestion::setDescription in Linkit 8.5

Sets the suggestion description.

Parameters

string $description: The suggestion description.

Return value

$this

Overrides SuggestionDescriptionInterface::setDescription

File

src/Suggestion/DescriptionSuggestion.php, line 29

Class

DescriptionSuggestion
Defines a linkit suggestion with description.

Namespace

Drupal\linkit\Suggestion

Code

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