public function AutocompletionConfigurationInterface::setNoResultLabel in Search Autocomplete 2.x
Same name and namespace in other branches
- 8 src/AutocompletionConfigurationInterface.php \Drupal\search_autocomplete\AutocompletionConfigurationInterface::setNoResultLabel()
Sets a label when no result are available.
Parameters
string $no_result_label: The label for "no result available" custom suggestion.
1 method overrides AutocompletionConfigurationInterface::setNoResultLabel()
- AutocompletionConfiguration::setNoResultLabel in src/
Entity/ AutocompletionConfiguration.php - Sets a label when no result are available.
File
- src/
AutocompletionConfigurationInterface.php, line 173
Class
- AutocompletionConfigurationInterface
- Provides an interface defining an autocompletion configuration entity.
Namespace
Drupal\search_autocompleteCode
public function setNoResultLabel($no_result_label);