public function SuggestionInterface::setLabel in Linkit 8.5
Sets the suggestion label.
Parameters
string $label: The suggestion label to set.
Return value
$this
1 method overrides SuggestionInterface::setLabel()
- SimpleSuggestion::setLabel in src/
Suggestion/ SimpleSuggestion.php - Sets the suggestion label.
File
- src/
Suggestion/ SuggestionInterface.php, line 26
Class
- SuggestionInterface
- Defines the interface for suggestions.
Namespace
Drupal\linkit\SuggestionCode
public function setLabel($label);