public function AutocompletionConfiguration::setNoResultLink in Search Autocomplete 2.x
Same name and namespace in other branches
- 8 src/Entity/AutocompletionConfiguration.php \Drupal\search_autocomplete\Entity\AutocompletionConfiguration::setNoResultLink()
Sets a link when no result are available.
Parameters
string $no_result_link: The link for "no result available" custom suggestion.
Overrides AutocompletionConfigurationInterface::setNoResultLink
File
- src/
Entity/ AutocompletionConfiguration.php, line 389
Class
- AutocompletionConfiguration
- Defines the autocompletion_configuration entity.
Namespace
Drupal\search_autocomplete\EntityCode
public function setNoResultLink($no_result_link) {
$this->noResultLink = $no_result_link;
}