public function TextValue::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
Overrides TextValueInterface::setProperty
File
- src/
Plugin/ search_api/ data_type/ value/ TextValue.php, line 135
Class
- TextValue
- Represents a single value of a fulltext field.
Namespace
Drupal\search_api\Plugin\search_api\data_type\valueCode
public function setProperty($name, $value = TRUE) {
$this->properties[$name] = $value;
return $this;
}