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