You are here

public function NumberFieldBoost::defaultConfiguration in Search API 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurablePluginBase::defaultConfiguration

File

src/Plugin/search_api/processor/NumberFieldBoost.php, line 30

Class

NumberFieldBoost
Adds a boost based on a number field value.

Namespace

Drupal\search_api\Plugin\search_api\processor

Code

public function defaultConfiguration() : array {
  return [
    'boosts' => [],
  ];
}