public function FieldInterface::setValues in Search API 8
Sets the values of this field.
Parameters
array $values: The values of the field. These already have to have been processed by the data type plugin corresponding to this field's type.
Return value
$this
1 method overrides FieldInterface::setValues()
- Field::setValues in src/
Item/ Field.php - Sets the values of this field.
File
- src/
Item/ FieldInterface.php, line 295
Class
- FieldInterface
- Represents a field on a search item that can be indexed.
Namespace
Drupal\search_api\ItemCode
public function setValues(array $values);