You are here

public function AggregatedFieldProperty::defaultConfiguration in Search API 8

Gets the default configuration for this property.

Return value

array An associative array with the default configuration.

Overrides ConfigurablePropertyBase::defaultConfiguration

File

src/Plugin/search_api/processor/Property/AggregatedFieldProperty.php, line 25

Class

AggregatedFieldProperty
Defines an "aggregated field" property.

Namespace

Drupal\search_api\Plugin\search_api\processor\Property

Code

public function defaultConfiguration() {
  return [
    'type' => 'union',
    'fields' => [],
  ];
}