public function AutocompletionConfiguration::setNoResultValue in Search Autocomplete 8
Same name and namespace in other branches
- 2.x 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 333
Class
- AutocompletionConfiguration
- Defines the autocompletion_configuration entity.
Namespace
Drupal\search_autocomplete\EntityCode
public function setNoResultValue($no_result_value) {
$this->noResultValue = $no_result_value;
}