public function SimpleSuggestion::setLabel in Linkit 8.5
Sets the suggestion label.
Parameters
string $label: The suggestion label to set.
Return value
$this
Overrides SuggestionInterface::setLabel
File
- src/
Suggestion/ SimpleSuggestion.php, line 41
Class
- SimpleSuggestion
- Defines a simple suggestion.
Namespace
Drupal\linkit\SuggestionCode
public function setLabel($label) {
$this->label = $label;
return $this;
}