You are here

public function AutocompletionConfigurationInterface::setNoResultValue in Search Autocomplete 2.x

Same name and namespace in other branches
  1. 8 src/AutocompletionConfigurationInterface.php \Drupal\search_autocomplete\AutocompletionConfigurationInterface::setNoResultValue()

Sets a value when no result are available.

Parameters

string $no_result_value: The value for "no result available" custom suggestion.

1 method overrides AutocompletionConfigurationInterface::setNoResultValue()
AutocompletionConfiguration::setNoResultValue in src/Entity/AutocompletionConfiguration.php
Sets a value when no result are available.

File

src/AutocompletionConfigurationInterface.php, line 181

Class

AutocompletionConfigurationInterface
Provides an interface defining an autocompletion configuration entity.

Namespace

Drupal\search_autocomplete

Code

public function setNoResultValue($no_result_value);