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