You are here

public function Field::setPropertyPath in Search API 8

Retrieves this field's property path.

Parameters

string $property_path: The property path.

Return value

$this

Overrides FieldInterface::setPropertyPath

File

src/Item/Field.php, line 368

Class

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

Namespace

Drupal\search_api\Item

Code

public function setPropertyPath($property_path) {
  $this->propertyPath = $property_path;
  return $this;
}