You are here

public function AutocompletionConfiguration::setMoreResultsLabel in Search Autocomplete 8

Same name and namespace in other branches
  1. 2.x 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 364

Class

AutocompletionConfiguration
Defines the autocompletion_configuration entity.

Namespace

Drupal\search_autocomplete\Entity

Code

public function setMoreResultsLabel($more_results_label) {
  $this->moreResultsLabel = $more_results_label;
}