You are here

public function MappedFieldProperty::defaultConfiguration in Search API Field Map 8

Same name and namespace in other branches
  1. 8.3 src/Plugin/search_api/processor/Property/MappedFieldProperty.php \Drupal\search_api_field_map\Plugin\search_api\processor\Property\MappedFieldProperty::defaultConfiguration()
  2. 8.2 src/Plugin/search_api/processor/Property/MappedFieldProperty.php \Drupal\search_api_field_map\Plugin\search_api\processor\Property\MappedFieldProperty::defaultConfiguration()
  3. 4.x src/Plugin/search_api/processor/Property/MappedFieldProperty.php \Drupal\search_api_field_map\Plugin\search_api\processor\Property\MappedFieldProperty::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/MappedFieldProperty.php, line 29

Class

MappedFieldProperty
Defines an "mapped field" property.

Namespace

Drupal\search_api_field_map\Plugin\search_api\processor\Property

Code

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