public function SearchApiSpellcheckSuggestionLink::createLink in Search API Spellcheck 7
Set the property 'link' to the HTML markup for a link to the suggested search results.
1 call to SearchApiSpellcheckSuggestionLink::createLink()
- SearchApiSpellcheckSuggestionLink::__construct in includes/
SearchApiSpellcheckSuggestionLink.inc - Constructor.
File
- includes/
SearchApiSpellcheckSuggestionLink.inc, line 81 - The class is a helpful way to provide both an updated search query link and access to all the link components for themers.
Class
- SearchApiSpellcheckSuggestionLink
- @file The class is a helpful way to provide both an updated search query link and access to all the link components for themers.
Code
public function createLink() {
$this->link = l($this->suggestion, $this->path, array(
'query' => $this->query,
));
}