public function Suggestion::setUrl in Search API Autocomplete 8
Sets the URL.
Parameters
\Drupal\Core\Url|null $url: The URL.
Return value
$this
Overrides SuggestionInterface::setUrl
File
- src/
Suggestion/ Suggestion.php, line 189
Class
- Suggestion
- Provides a value object meant to be used as result of suggestions.
Namespace
Drupal\search_api_autocomplete\SuggestionCode
public function setUrl($url) {
$this->url = $url;
return $this;
}