You are here

public function Field::getOriginalFieldIdentifier in Search API 8

Returns the original field identifier of this field.

This will remember the original ID with which this field object was created even after its ID has been changed with \Drupal\search_api\Item\FieldInterface::setFieldIdentifier().

Return value

string The original identifier of this field.

Overrides FieldInterface::getOriginalFieldIdentifier

File

src/Item/Field.php, line 277

Class

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

Namespace

Drupal\search_api\Item

Code

public function getOriginalFieldIdentifier() {
  return $this->originalFieldIdentifier;
}