You are here

public function TextValueInterface::setProperty in Search API 8

Sets the properties of this text value.

Parameters

string $name: The property's name.

mixed $value: (optional) The value to set for the property.

Return value

$this

1 method overrides TextValueInterface::setProperty()
TextValue::setProperty in src/Plugin/search_api/data_type/value/TextValue.php
Sets the properties of this text value.

File

src/Plugin/search_api/data_type/value/TextValueInterface.php, line 123

Class

TextValueInterface
Provides an interface for fulltext field values.

Namespace

Drupal\search_api\Plugin\search_api\data_type\value

Code

public function setProperty($name, $value = TRUE);