You are here

public function Field::setConfiguration in Search API 8

Sets this field's property-specific configuration.

Parameters

array $configuration: An associative array containing the field's configuration.

Return value

$this

Overrides FieldInterface::setConfiguration

File

src/Item/Field.php, line 645

Class

Field
Represents a field on a search item that can be indexed.

Namespace

Drupal\search_api\Item

Code

public function setConfiguration(array $configuration) {
  $this->configuration = $configuration;
  return $this;
}