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\processorCode
public function defaultConfiguration() : array {
return [
'boosts' => [],
];
}