You are here

public function AutocompletionConfigurationInterface::setNoResultLabel in Search Autocomplete 8

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

Code

public function setNoResultLabel($no_result_label);