You are here

public function FederatedTermsProperty::defaultConfiguration in Search API Federated Solr 8.2

Same name and namespace in other branches
  1. 8.3 src/Plugin/search_api/processor/Property/FederatedTermsProperty.php \Drupal\search_api_federated_solr\Plugin\search_api\processor\Property\FederatedTermsProperty::defaultConfiguration()
  2. 8 src/Plugin/search_api/processor/Property/FederatedTermsProperty.php \Drupal\search_api_federated_solr\Plugin\search_api\processor\Property\FederatedTermsProperty::defaultConfiguration()
  3. 4.x src/Plugin/search_api/processor/Property/FederatedTermsProperty.php \Drupal\search_api_federated_solr\Plugin\search_api\processor\Property\FederatedTermsProperty::defaultConfiguration()

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/FederatedTermsProperty.php, line 22

Class

FederatedTermsProperty
Defines an "federated terms" property.

Namespace

Drupal\search_api_federated_solr\Plugin\search_api\processor\Property

Code

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