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