public function SuggestionInterface::setLabel in Search API Autocomplete 8
Sets the label.
Parameters
string|null $label: The new label.
Return value
$this
1 method overrides SuggestionInterface::setLabel()
- Suggestion::setLabel in src/
Suggestion/ Suggestion.php - Sets the label.
File
- src/
Suggestion/ SuggestionInterface.php, line 138
Class
- SuggestionInterface
- Defines a single autocompletion suggestion.
Namespace
Drupal\search_api_autocomplete\SuggestionCode
public function setLabel($label);