You are here

public function Field::getValues in Search API 8

Retrieves the value of this field.

Return value

array A numeric array of zero or more values for this field, with indices starting with 0.

Overrides FieldInterface::getValues

1 call to Field::getValues()
Field::__toString in src/Item/Field.php
Implements the magic __toString() method to simplify debugging.

File

src/Item/Field.php, line 539

Class

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

Namespace

Drupal\search_api\Item

Code

public function getValues() {
  return $this->values;
}